|
|
|
@ -39,16 +39,24 @@ def test_positions(cli_setup, g_admin_ctx): |
|
|
|
|
assert result.exit_code == 0 |
|
|
|
|
assert result.output == ''' |
|
|
|
|
The positions will be updated: |
|
|
|
|
president: test_0 |
|
|
|
|
vice-president: test_1 |
|
|
|
|
sysadmin: test_2 |
|
|
|
|
secretary: test_3 |
|
|
|
|
webmaster: test_4 |
|
|
|
|
treasurer: |
|
|
|
|
cro: |
|
|
|
|
librarian: |
|
|
|
|
imapd: |
|
|
|
|
offsck: |
|
|
|
|
president: test_0 |
|
|
|
|
vice-president: test_1 |
|
|
|
|
sysadmin: test_2 |
|
|
|
|
secretary: test_3 |
|
|
|
|
webmaster: test_4 |
|
|
|
|
treasurer: |
|
|
|
|
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 |
|
|
|
|