Skip to content

Commit

Permalink
FUDS needed an extra mock (#1848)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattbowen-usds committed Sep 22, 2022
1 parent e7fe4e2 commit 5a0bbb3
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -185,3 +185,10 @@ def test_tracts_without_fuds_not_in_results(self, mock_etl, mock_paths):
assert len(df[etl.GEOID_TRACT_FIELD_NAME]) == len(
self._FIXTURES_SHARED_TRACT_IDS
)

def test_tract_id_lengths(self, mock_etl, mock_paths):
with mock.patch(
"data_pipeline.etl.sources.us_army_fuds.etl.add_tracts_for_geometries",
new=_fake_add_tracts_for_geometries,
):
return super().test_tract_id_lengths(mock_etl, mock_paths)

0 comments on commit 5a0bbb3

Please sign in to comment.