Skip to content

Commit fb074d6

Browse files
committed
fix(conflation): add conflation project draft to integration fixtures, reflect ref column in results temp in tests
1 parent c0dd1a3 commit fb074d6

File tree

3 files changed

+27
-0
lines changed

3 files changed

+27
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"createdBy": "atCSosZACaN0qhcVjtMO1tq9d1G3",
3+
"geometry": "https://firebasestorage.googleapis.com/v0/b/dev-mapswipe.appspot.com/o/all_predictions_192.geojson?alt=media&token=b7a85e56-6ab1-4e0d-a734-a772025a88b8",
4+
"filter": "way['building']",
5+
"groupSize": 25,
6+
"image": "https://firebasestorage.googleapis.com/v0/b/dev-mapswipe.appspot.com/o/projectImages%2F1742895229710-project-image-1x1.png?alt=media&token=26cf1956-9ab7-4348-b529-9952f2f8424e",
7+
"lookFor": "Buildings",
8+
"manualUrl": "https://fair-dev.hotosm.org/start-mapping/358",
9+
"name": "Conflate fAIr buildings - Kathmandu (1)\nHOT",
10+
"projectDetails": "This is a test.",
11+
"projectNumber": 1,
12+
"projectRegion": "Kathmandu",
13+
"projectTopic": "Conflate fAIr buildings",
14+
"projectTopicKey": "conflate fair buildings - kathmandu (1) hot",
15+
"projectType": 8,
16+
"requestingOrganisation": "HOT",
17+
"tileServer": {
18+
"credits": "Please add imagery credits here.",
19+
"name": "custom",
20+
"url": "https://2glp8ghj65.execute-api.us-east-1.amazonaws.com/cog/tiles/WebMercatorQuad/{z}/{x}/{y}@1x?url=https%3A%2F%2Foin-hotosm-temp.s3.us-east-1.amazonaws.com%2F62d85d11d8499800053796c1%2F0%2F62d85d11d8499800053796c2.tif",
21+
"wmtsLayerName": "-"
22+
},
23+
"tutorialId": "tutorial_-MQsj5VWpNcJxCTVTOyH",
24+
"verificationNumber": 3
25+
}

mapswipe_workers/tests/integration/test_get_results.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ def test_get_results_df_from_postgres(self):
3838
"app_version",
3939
"client_type",
4040
"result",
41+
"ref",
4142
"username",
4243
"day",
4344
],

mapswipe_workers/tests/integration/test_get_results_real_project.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ def test_get_results_df_from_postgres(self):
7171
"app_version",
7272
"client_type",
7373
"result",
74+
"ref",
7475
"username",
7576
"day",
7677
],

0 commit comments

Comments
 (0)