tests: update assertions for new positions
Signed-off-by: n4chung <n4chung@csclub.uwaterloo.ca>
This commit is contained in:
parent
c2a5220b38
commit
80ec0bac6b
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue