Skip to content

Commit

Permalink
ENH: Updating airnow tests to reflect new values from AirNow
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamTheisen committed Jul 27, 2023
1 parent ac14d05 commit 35bcca3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions act/tests/test_discovery.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def test_airnow():
assert results['ReportingArea'][3] == 'Aurora and Elgin'

results = act.discovery.get_airnow_obs(token, date='2022-05-01', zipcode=60108, distance=50)
assert results['AQI'].values[0] == 30
assert results['AQI'].values[0] == 26
assert results['ParameterName'].values[1] == 'PM2.5'
assert results['CategoryName'].values[0] == 'Good'

Expand All @@ -182,7 +182,7 @@ def test_airnow():
results = act.discovery.get_airnow_obs(
token, date='2022-05-01', distance=50, latlon=[41.958, -88.12]
)
assert results['AQI'].values[0] == 30
assert results['AQI'].values[0] == 26
assert results['ParameterName'].values[1] == 'PM2.5'
assert results['CategoryName'].values[0] == 'Good'

Expand Down

0 comments on commit 35bcca3

Please sign in to comment.