Skip to content

Commit

Permalink
fixed appropriate values in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mjmiller committed Nov 21, 2023
1 parent 7b8ccbb commit 454279e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ generator:
NAME: county_name
GEOID: county_fips
udh_county_zip_crosswalk:
filename: COUNTY_ZIP_0920232.xlsx
filename: COUNTY_ZIP_092023.xlsx
format: xlsx
fields:
- ZIP
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions tests/test_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def setUp(self):
self.config = Config()

def test_load_hud_county_zip(self):
year_count_pairs = [(2022, 54260), (2023, 54251)]
year_count_pairs = [(2022, 54260), (2023, 54446)]
for year, expected_count in year_count_pairs:
generator = Generator(self.config, year)
self.assertEqual(expected_count, generator.load_hud_county_zip().shape[0])
Expand Down Expand Up @@ -41,7 +41,7 @@ def test_load_df(self):
Ensure that the hardcoded euc counties is not accidentally modified.
:return:
"""
year_count_pairs = [(2022, 220), (2023, 7)]
year_count_pairs = [(2022, 220), (2023, 93)]
for year, expected_count in year_count_pairs:
generator = Generator(self.config, year)
df = generator.load_df("qpp_euc_counties")
Expand Down

0 comments on commit 454279e

Please sign in to comment.