Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
mcarans committed Nov 21, 2024
1 parent 0e01f8d commit fb607cd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/hdx/scraper/ophi/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ def update_dataset(dataset):
)
dataset = dataset_generator.generate_dataset(
folder,
standardised_country,
standardised_country_trend,
standardised_country.values(),
standardised_country_trend.values(),
countryiso3,
countryname,
date_ranges[countryiso3],
Expand Down
6 changes: 4 additions & 2 deletions tests/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -331,10 +331,12 @@ def test_main(

countryiso3 = "AFG"
countryname = Country.get_country_name_from_iso3(countryiso3)
standardised_country = standardised_countries[countryiso3]
standardised_country = standardised_countries[
countryiso3
].values()
standardised_country_trend = standardised_countries_trend.get(
countryiso3
)
).values()
dataset = dataset_generator.generate_dataset(
tempdir,
standardised_country,
Expand Down

0 comments on commit fb607cd

Please sign in to comment.