From 487c96e84ffdc8519e72c350049beaa11618411b Mon Sep 17 00:00:00 2001 From: jgunstone Date: Wed, 13 Mar 2024 15:27:33 +0000 Subject: [PATCH] =?UTF-8?q?=E2=9C=85=20add=20get=5Fproperties=20test=20val?= =?UTF-8?q?idating=20that=20offset=20and=20limit=20are=20correctly=20appli?= =?UTF-8?q?ed?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/bsdd/tests/test_bsdd.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/bsdd/tests/test_bsdd.py b/src/bsdd/tests/test_bsdd.py index 56ae193737..2cc1fd3935 100644 --- a/src/bsdd/tests/test_bsdd.py +++ b/src/bsdd/tests/test_bsdd.py @@ -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