fix(tests): replace humans with cats

This commit is contained in:
Julian Lobbes 2022-12-03 21:39:32 +01:00
parent f47da87d03
commit 961fc09acb

View File

@ -12,9 +12,9 @@ import lumi2.ldap as ldap
def get_random_avatar() -> Image.Image:
"""Returns a PIL JPEG Image of an AI-generated person."""
"""Returns a PIL JPEG Image of an AI-generated cat."""
url = "https://thispersondoesnotexist.com/image"
url = "https://thiscatdoesnotexist.com/"
response = requests.get(url)
if response.status_code != 200:
raise RuntimeError(