Skip to content

Commit

Permalink
[#65] updating test to check for file checksum
Browse files Browse the repository at this point in the history
  • Loading branch information
pkdash committed May 21, 2024
1 parent 6f19894 commit 0e029e7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/test_functional.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,10 @@ def test_filtering_aggregations_by_files(timeseries_resource):
assert not timeseries_resource.aggregation(file__path="No_match.sqlite")
assert len(timeseries_resource.aggregations(files__path="No_match.sqlite")) == 0
assert not timeseries_resource.aggregation(files__path="No_match.sqlite")
# get the first aggregation
aggr = timeseries_resource.aggregations()[0]
file = aggr.file(path="ODM2_Multi_Site_One_Variable.sqlite")
assert file.checksum is not None


def test_filtering_files(resource):
Expand Down

0 comments on commit 0e029e7

Please sign in to comment.