We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a061f94 commit 5a0e2d0Copy full SHA for 5a0e2d0
mapswipe_workers/tests/integration/test_archive_project.py
@@ -1,3 +1,4 @@
1
+import time
2
import unittest
3
4
import set_up
@@ -19,6 +20,7 @@ def tearDown(self):
19
20
def test_changes(self):
21
"""Test if groups, tasks and results are deleted from Firebase."""
22
archive_project.archive_project([self.project_id])
23
+ time.sleep(4)
24
25
fb_db = auth.firebaseDB()
26
ref = fb_db.reference("v2/groups/{0}".format(self.project_id))
@@ -40,6 +42,7 @@ def test_changes(self):
40
42
def test_project_id_not_exists(self):
41
43
"""Test for project id which does not exists."""
44
archive_project.archive_project(["tuna"])
45
46
47
48
ref = fb_db.reference("v2/groups/")
0 commit comments