add get_properties test validating that offset and limit are correctly applied

This commit is contained in:
jgunstone
2024-03-13 15:27:33 +00:00
parent db811152b8
commit 487c96e84f
+4
View File
@@ -35,3 +35,7 @@ def test_search_class():
assert len(li) < 8 # I think it should be 4 but just validating it isn't overfetching with some space for future change
for l in li:
assert l in [_["name"] for _ in ss_heat_pump_sys["classes"]]
def test_get_properties():
pr = client.get_properties(ifc4x3_uri, offset=0, limit=5)
assert len(pr["properties"]) == 5