Skip to content

Commit df17d3c

Browse files
committed
fix: testing for removed funcionality
1 parent 5ac3620 commit df17d3c

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

mapswipe_workers/mapswipe_workers/utils/process_mapillary.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -121,15 +121,11 @@ def coordinate_download(
121121
downloaded_metadata.append(df)
122122
if failed_row is not None:
123123
failed_tiles.append(failed_row)
124-
125124
if len(downloaded_metadata):
126125
downloaded_metadata = pd.concat(downloaded_metadata, ignore_index=True)
127126
else:
128127
return pd.DataFrame(downloaded_metadata)
129128

130-
failed_tiles = pd.DataFrame(failed_tiles, columns=tiles.columns).reset_index(
131-
drop=True
132-
)
133129
target_columns = [
134130
"id", "geometry", "captured_at", "is_pano", "compass_angle", "sequence", "organization_id"
135131
]

mapswipe_workers/tests/unittests/test_process_mapillary.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,6 @@ def test_coordinate_download(self, mock_download_and_process_tile):
205205
)
206206

207207
self.assertIsInstance(metadata, pd.DataFrame)
208-
self.assertTrue(failed.empty)
209208

210209
@patch("mapswipe_workers.utils.process_mapillary.download_and_process_tile")
211210
def test_coordinate_download_with_failures(self, mock_download_and_process_tile):

0 commit comments

Comments
 (0)