Skip to content

Commit 502f6d9

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

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

tests/test_export_old_projects.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
from mapswipe_workers.basic import BaseFunctions
2+
3+
def test_update_old_project():
4+
5+
project_ids = [3, 124, 5519, 13523]
6+
BaseFunctions.run_export('development', project_ids)
7+
8+
9+
if __name__ == '__main__':
10+
test_update_old_project()

tests/test_update_old_projects.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
from mapswipe_workers.basic import BaseFunctions
2+
3+
def test_update_old_project():
4+
5+
project_ids = [3, 124, 5519, 13523]
6+
BaseFunctions.run_update('development', project_ids)
7+
8+
9+
if __name__ == '__main__':
10+
test_update_old_project()

0 commit comments

Comments
 (0)