Skip to content

Commit 37c6098

Browse files
committed
revert test_changes
1 parent 827cec8 commit 37c6098

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

mapswipe_workers/tests/integration/test_create_footprint_project.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
import tear_down
55

66
from mapswipe_workers import auth, mapswipe_workers
7-
from mapswipe_workers.definitions import logger
87
from mapswipe_workers.utils.create_directories import create_directories
98

109

@@ -22,16 +21,12 @@ def tearDown(self):
2221
tear_down.delete_test_data(element)
2322

2423
def test_create_footprint_project(self):
25-
try:
26-
mapswipe_workers.run_create_projects()
27-
except BaseException as e:
28-
logger.error(e, exc_info=True)
24+
mapswipe_workers.run_create_projects()
2925
pg_db = auth.postgresDB()
3026
for element in self.project_id:
3127
query = "SELECT project_id FROM projects WHERE project_id = %s"
3228
result = pg_db.retr_query(query, [element])[0][0]
3329
self.assertEqual(result, element)
34-
# testchange
3530
fb_db = auth.firebaseDB()
3631
ref = fb_db.reference(f"/v2/projects/{element}")
3732
result = ref.get(shallow=True)

0 commit comments

Comments
 (0)