Skip to content

Commit

Permalink
x
Browse files Browse the repository at this point in the history
  • Loading branch information
abretaud committed Apr 23, 2020
1 parent ec58fd3 commit 80a352e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/group_test.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import time

from . import ApolloTestCase, wa


Expand Down Expand Up @@ -137,6 +139,8 @@ def test_update_membership_username(self):

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

time.sleep(1)

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

assert len(res) == 1
Expand All @@ -153,6 +157,8 @@ def test_update_membership_dict(self):

wa.groups.update_membership(memberships=[{'groupId': res[0]['id'], 'users': ['[email protected]']}])

time.sleep(1)

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

assert len(res) == 1
Expand Down

0 comments on commit 80a352e

Please sign in to comment.