python3: explicit list of export keys in ou manager testing
This commit is contained in:
parent
a271cb0a12
commit
cd907ea6e3
|
@ -22,7 +22,7 @@ def test_manager_ou_export(app, admin, ou1, role_ou1, ou2, role_ou2):
|
|||
export_response = response.click('JSON')
|
||||
export = export_response.json
|
||||
|
||||
assert export.keys() == ['ous']
|
||||
assert list(export.keys()) == ['ous']
|
||||
assert len(export['ous']) == 3
|
||||
assert set([ou['slug'] for ou in export['ous']]) == set(['default', 'ou1', 'ou2'])
|
||||
|
||||
|
|
Loading…
Reference in New Issue