Update test_sensorthings_provider.py

This commit is contained in:
Benjamin Webb
2021-09-09 13:52:21 -04:00
parent 701c34a64f
commit 07a23928ff
+6
View File
@@ -93,6 +93,12 @@ def test_query_observations(config):
p = SensorThingsProvider(config)
results = p.query(resulttype='hits')
assert results['numberMatched'] == 10
results = p.query(resulttype='hits', limit=1000)
assert results['numberMatched'] == 1000
results = p.query(resulttype='hits', limit=3000)
assert results['numberMatched'] == 2752
results = p.query(properties=[('result', 7475), ])