mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 22:13:26 +00:00
tests: Update tests to use example profile picture.
So that we can stop using Tim's photo for tests, adds an open license profile picture to use instead. Updates tests that used `tim.png` to use the new example profile picture, which is located in `static/images/test-images/avatars/`.
This commit is contained in:
committed by
Tim Abbott
parent
1eda42f509
commit
0c947985bd
@@ -25,7 +25,7 @@ def generate_dev_ldap_dir(mode: str, num_users: int = 8) -> Dict[str, Dict[str,
|
||||
ldap_data.append((name, email, phone_number, birthdate))
|
||||
|
||||
profile_images = []
|
||||
for path in glob.glob(os.path.join(static_path("images/landing-page/team"), "*")):
|
||||
for path in glob.glob(os.path.join(static_path("images/test-images/avatars"), "*")):
|
||||
with open(path, "rb") as f:
|
||||
profile_images.append(f.read())
|
||||
ldap_dir = {}
|
||||
|
||||
Reference in New Issue
Block a user