Skip to content

Commit 0c735af

Browse files
author
Herfort
committed
add scripts to test for old projects in production
1 parent 502f6d9 commit 0c735af

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

tests/test_export_old_projects.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
from mapswipe_workers.basic import BaseFunctions
22

3-
def test_update_old_project():
3+
def test_export_old_projects():
44

55
project_ids = [3, 124, 5519, 13523]
6-
BaseFunctions.run_export('development', project_ids)
6+
BaseFunctions.run_export('production', project_ids)
77

88

99
if __name__ == '__main__':
10-
test_update_old_project()
10+
test_export_old_projects()

tests/test_update_old_projects.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
from mapswipe_workers.basic import BaseFunctions
22

3-
def test_update_old_project():
3+
def test_update_old_projects():
44

55
project_ids = [3, 124, 5519, 13523]
6-
BaseFunctions.run_update('development', project_ids)
6+
BaseFunctions.run_update('production', project_ids)
77

88

99
if __name__ == '__main__':
10-
test_update_old_project()
10+
test_update_old_projects()

0 commit comments

Comments
 (0)