Skip to content

Commit 2dd706d

Browse files
committed
test(project): remove empty fields from dataset
1 parent e6503b7 commit 2dd706d

File tree

4 files changed

+1
-46
lines changed

4 files changed

+1
-46
lines changed

apps/project/tests/e2e_create_street_project_test.py

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -675,9 +675,6 @@ def _test_project(self, filename: str):
675675
sort_column=operator.itemgetter("task_id"),
676676
ignore_columns={
677677
"", # NOTE: dataframe index
678-
"urlB", # FIXME: old system contains this field
679-
"tile_x", # FIXME: old system contains this field
680-
"tile_y", # FIXME: old system contains this field
681678
},
682679
)
683680
actual_tasks = read_csv(
@@ -758,13 +755,6 @@ def _test_project(self, filename: str):
758755

759756
expected_aggregated_results = read_csv(
760757
Path(Config.BASE_DIR, test_data["expected_project_exports_data"]["aggregated_results"]),
761-
ignore_columns={
762-
"urlB", # FIXME: old system contains this field
763-
"tile_x", # FIXME: old system contains this field
764-
"tile_y", # FIXME: old system contains this field
765-
"3_count", # FIXME: old system contains this field
766-
"3_share", # FIXME: old system contains this field
767-
},
768758
)
769759
actual_aggregated_results = read_csv(
770760
aggregated_results_project_asset.file,
@@ -794,11 +784,6 @@ def _test_project(self, filename: str):
794784
Path(Config.BASE_DIR, test_data["expected_project_exports_data"]["aggregated_results_with_geometry"]),
795785
ignore_fields={
796786
"name", # NOTE: Previously "tmp", now "tmp" + random_str
797-
"urlB", # FIXME: old system contains this field
798-
"tile_x", # FIXME: old system contains this field
799-
"tile_y", # FIXME: old system contains this field
800-
"3_count", # FIXME: old system contains this field
801-
"3_share", # FIXME: old system contains this field
802787
},
803788
)
804789
actual_aggregated_results_with_geometry = read_json(

apps/project/tests/e2e_create_validate_image_project_test.py

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -670,9 +670,6 @@ def _test_project(self, filename: str):
670670
sort_column=operator.itemgetter("task_id"),
671671
ignore_columns={
672672
"", # NOTE: dataframe index
673-
"urlB", # fixme: old system contains this field
674-
"tile_x", # FIXME: old system contains this field
675-
"tile_y", # FIXME: old system contains this field
676673
},
677674
)
678675
actual_tasks = read_csv(
@@ -727,13 +724,6 @@ def _test_project(self, filename: str):
727724

728725
expected_aggregated_results = read_csv(
729726
Path(Config.BASE_DIR, test_data["expected_project_exports_data"]["aggregated_results"]),
730-
ignore_columns={
731-
"urlB", # FIXME: old system contains this field
732-
"tile_x", # FIXME: old system contains this field
733-
"tile_y", # FIXME: old system contains this field
734-
"3_count", # FIXME: old system contains this field
735-
"3_share", # FIXME: old system contains this field
736-
},
737727
)
738728
actual_aggregated_results = read_csv(
739729
aggregated_results_project_asset.file,
@@ -763,11 +753,6 @@ def _test_project(self, filename: str):
763753
Path(Config.BASE_DIR, test_data["expected_project_exports_data"]["aggregated_results_with_geometry"]),
764754
ignore_fields={
765755
"name", # NOTE: Previously "tmp", now "tmp" + random_str
766-
"urlB", # FIXME: old system contains this field
767-
"tile_x", # FIXME: old system contains this field
768-
"tile_y", # FIXME: old system contains this field
769-
"3_count", # FIXME: old system contains this field
770-
"3_share", # FIXME: old system contains this field
771756
},
772757
)
773758
actual_aggregated_results_with_geometry = read_json(

apps/project/tests/e2e_create_validate_project_test.py

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -676,9 +676,6 @@ def _test_project(self, filename: str):
676676
sort_column=operator.itemgetter("task_id"),
677677
ignore_columns={
678678
"", # NOTE: dataframe index
679-
"urlB", # fixme: old system contains this field
680-
"tile_x", # FIXME: old system contains this field
681-
"tile_y", # FIXME: old system contains this field
682679
},
683680
)
684681
actual_tasks = read_csv(
@@ -759,13 +756,6 @@ def _test_project(self, filename: str):
759756

760757
expected_aggregated_results = read_csv(
761758
Path(Config.BASE_DIR, test_data["expected_project_exports_data"]["aggregated_results"]),
762-
ignore_columns={
763-
"urlB", # FIXME: old system contains this field
764-
"tile_x", # FIXME: old system contains this field
765-
"tile_y", # FIXME: old system contains this field
766-
"3_count", # FIXME: old system contains this field
767-
"3_share", # FIXME: old system contains this field
768-
},
769759
)
770760
actual_aggregated_results = read_csv(
771761
aggregated_results_project_asset.file,
@@ -795,11 +785,6 @@ def _test_project(self, filename: str):
795785
Path(Config.BASE_DIR, test_data["expected_project_exports_data"]["aggregated_results_with_geometry"]),
796786
ignore_fields={
797787
"name", # NOTE: Previously "tmp", now "tmp" + random_str
798-
"urlB", # FIXME: old system contains this field
799-
"tile_x", # FIXME: old system contains this field
800-
"tile_y", # FIXME: old system contains this field
801-
"3_count", # FIXME: old system contains this field
802-
"3_share", # FIXME: old system contains this field
803788
},
804789
)
805790
actual_aggregated_results_with_geometry = read_json(

0 commit comments

Comments
 (0)