Skip to content

Commit b489cea

Browse files
author
matthias_schaub
committed
Remove waiting time between running archive function and testing.
1 parent 326db18 commit b489cea

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

mapswipe_workers/tests/integration/test_archive_project.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import time
21
import unittest
32

43
import set_up
@@ -20,7 +19,6 @@ def tearDown(self):
2019
def test_changes(self):
2120
"""Test if groups, tasks and results are deleted from Firebase."""
2221
archive_project.archive_project([self.project_id])
23-
time.sleep(6)
2422

2523
fb_db = auth.firebaseDB()
2624
ref = fb_db.reference("v2/groups/{0}".format(self.project_id))
@@ -42,7 +40,6 @@ def test_changes(self):
4240
def test_project_id_not_exists(self):
4341
"""Test for project id which does not exists."""
4442
archive_project.archive_project(["tuna"])
45-
time.sleep(6)
4643

4744
fb_db = auth.firebaseDB()
4845
ref = fb_db.reference("v2/groups/")

0 commit comments

Comments
 (0)