Skip to content

Commit 9503a7d

Browse files
committed
fix: tests for removed failing rows
1 parent 81d44ed commit 9503a7d

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

mapswipe_workers/tests/unittests/test_process_mapillary.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -173,9 +173,8 @@ def test_download_and_process_tile_success(self, mock_get, mock_vt2geojson):
173173

174174
row = {"x": 1, "y": 1, "z": 14}
175175

176-
result, failed = download_and_process_tile(row)
176+
result = download_and_process_tile(row)
177177

178-
self.assertIsNone(failed)
179178
self.assertIsInstance(result, pd.DataFrame)
180179
self.assertEqual(len(result), 1)
181180
self.assertEqual(result["geometry"][0].wkt, "POINT (0 0)")
@@ -188,10 +187,9 @@ def test_download_and_process_tile_failure(self, mock_get):
188187
mock_get.return_value = mock_response
189188

190189
row = pd.Series({"x": 1, "y": 1, "z": self.level})
191-
result, failed = download_and_process_tile(row)
190+
result = download_and_process_tile(row)
192191

193192
self.assertIsNone(result)
194-
self.assertIsNotNone(failed)
195193

196194
@patch("mapswipe_workers.utils.process_mapillary.download_and_process_tile")
197195
def test_coordinate_download(self, mock_download_and_process_tile):

0 commit comments

Comments
 (0)