Skip to content

Commit

Permalink
Merge remote-tracking branch 'noaa/develop' into airnow-metas
Browse files Browse the repository at this point in the history
  • Loading branch information
zmoon committed Nov 14, 2023
2 parents ccd4b88 + 2f08f61 commit 3885636
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/test_openaq.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ def test_openaq():
# First date in the archive, just one file
# Browse the archive at https://openaq-fetches.s3.amazonaws.com/index.html
dates = pd.date_range(start="2013-11-26", end="2013-11-27", freq="H")[:-1]
df = openaq.add_data(dates)
try:
df = openaq.add_data(dates)
except PermissionError:
pytest.skip("private")
assert not df.empty
assert df.siteid.nunique() == 1
assert (df.country == "CN").all() and ((df.time_local - df.time) == pd.Timedelta(hours=8)).all()

0 comments on commit 3885636

Please sign in to comment.