Noticed locally and on TravisCI that USGS tests are failing:
# Returns 4 stations: 04044724, 04045500, 04046000, 04056500
> assert len(collection.elements) == 4
E AssertionError: assert 3 == 4
E + where 3 = len([<paegan.cdm.dsg.features.station.Station object at 0xcc30a10>, <paegan.cdm.dsg.features.station.Station object at 0xcce4810>, <paegan.cdm.dsg.features.station.Station object at 0xcce48d0>])
E + where [<paegan.cdm.dsg.features.station.Station object at 0xcc30a10>, <paegan.cdm.dsg.features.station.Station object at 0xcce4810>, <paegan.cdm.dsg.features.station.Station object at 0xcce48d0>] = <paegan.cdm.dsg.collections.station_collection.StationCollection object at 0x7f86d1781cd0>.elements
tests/collectors/test_usgs.py:34: AssertionError
Looks like a station is no longer being reported. I'd think a better test approach would be to lock in a known time range instead of always doing (6 hrs ago .. now).
Noticed locally and on TravisCI that USGS tests are failing:
Looks like a station is no longer being reported. I'd think a better test approach would be to lock in a known time range instead of always doing (6 hrs ago .. now).