From c3deb218a872b475d365cbad8829c7120f939594 Mon Sep 17 00:00:00 2001 From: Anthony Bretaudeau Date: Thu, 23 Apr 2020 17:06:06 +0200 Subject: [PATCH] more sleep --- test/group_test.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/group_test.py b/test/group_test.py index a18f4b6b..1f8d0503 100644 --- a/test/group_test.py +++ b/test/group_test.py @@ -123,6 +123,8 @@ def test_update_group_admin(self): wa.groups.update_group_admin(res[0]['id'], ['test_temp@bx.psu.edu']) + time.sleep(1) + res = wa.groups.get_groups('trash_group') assert len(res) == 1 @@ -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'