fix(tests): replace humans with cats
This commit is contained in:
parent
f47da87d03
commit
961fc09acb
@ -12,9 +12,9 @@ import lumi2.ldap as ldap
|
|||||||
|
|
||||||
|
|
||||||
def get_random_avatar() -> Image.Image:
|
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)
|
response = requests.get(url)
|
||||||
if response.status_code != 200:
|
if response.status_code != 200:
|
||||||
raise RuntimeError(
|
raise RuntimeError(
|
||||||
|
Loading…
Reference in New Issue
Block a user