Skip to content

Commit

Permalink
test timeseries recombo
Browse files Browse the repository at this point in the history
  • Loading branch information
bkatiemills committed Mar 27, 2024
1 parent dea6ec2 commit 273f194
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def test_timeseries_recombo(apiroot, apikey):
'''

slice_response = helpers.query('/timeseries/ccmpwind', options={'polygon': [[-100,-60],[100,-60],[100,60],[-100,60],[-100,-60]]}, apikey=apikey, apiroot=apiroot, verbose=True)
noslice_response = helpers.query('timeseries/ccmpwind', options={'id': '0.125_0.125'}, apikey=apikey, apiroot=apiroot)
noslice_response = helpers.query('/timeseries/ccmpwind', options={'id': '0.125_0.125'}, apikey=apikey, apiroot=apiroot)
assert slice_response[0]['data'] == noslice_response[0]['data'], 'mismatch on data recombination'
assert slice_response[0]['timeseries'] == noslice_response[0]['timeseries'], 'mismatch on timestamp recombination'

Expand Down

0 comments on commit 273f194

Please sign in to comment.