tests: update assertions for new positions

Signed-off-by: n4chung <n4chung@csclub.uwaterloo.ca>
This commit is contained in:
Nathan Chung 2022-10-13 18:12:22 -04:00
parent c2a5220b38
commit 80ec0bac6b
Signed by: n4chung
GPG Key ID: 594AD8B44154B88A
2 changed files with 22 additions and 10 deletions

View File

@ -49,6 +49,14 @@ cro:
librarian:
imapd:
offsck:
ext-affairs-lead:
marketing-lead:
design-lead:
events-lead:
reps-lead:
mods-lead:
photography-lead:
other:
Do you want to continue? [y/N]: y
Update positions in LDAP... Done
Update executive group in LDAP... Done

View File

@ -8,7 +8,11 @@ def test_get_positions(client, ldap_user, g_admin_ctx):
assert status == 200
expected = {
'president': ldap_user.uid,
'secretary': 'test_3',
'sysadmin': 'test_2',
'treasurer': ldap_user.uid,
'vice-president': 'test_1',
'webmaster': 'test_4',
}
assert data == expected