Skip to content

Commit

Permalink
more sleep
Browse files Browse the repository at this point in the history
  • Loading branch information
abretaud committed Apr 23, 2020
1 parent 80a352e commit c3deb21
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/group_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,8 @@ def test_update_group_admin(self):

wa.groups.update_group_admin(res[0]['id'], ['[email protected]'])

time.sleep(1)

res = wa.groups.get_groups('trash_group')

assert len(res) == 1
Expand Down Expand Up @@ -182,6 +184,8 @@ def test_update_permissions(self):
assert res['class'] == 'org.bbop.apollo.GroupOrganismPermission'
assert res['permissions'] == ['ADMINISTRATE', 'READ']

time.sleep(1)

res = wa.groups.get_organism_permissions('trash_group')

assert res[0]['class'] == 'org.bbop.apollo.GroupOrganismPermission'
Expand Down

0 comments on commit c3deb21

Please sign in to comment.