From 0033f928881a80416e016e7b31dcde0d7918bbfe Mon Sep 17 00:00:00 2001 From: Gabe Fierro Date: Thu, 31 Oct 2024 15:18:38 -0600 Subject: [PATCH] fix tests to match new shacl interpretation output --- tests/unit/api/test_model.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/unit/api/test_model.py b/tests/unit/api/test_model.py index 21c27641..2a2a8095 100644 --- a/tests/unit/api/test_model.py +++ b/tests/unit/api/test_model.py @@ -284,8 +284,8 @@ def test_validate_model(client, building_motif, shacl_engine): response = results.get_json() assert "urn:building/vav1" in response["reasons"], "vav1 should be in the response" assert set(response["reasons"]["urn:building/vav1"]) == { - "urn:building/vav1 needs at least 1 instances of brick:Air_Flow_Sensor on path brick:hasPoint", - "urn:building/vav1 needs at least 1 instances of brick:Temperature_Sensor on path brick:hasPoint", + "urn:building/vav1 needs at least 1 instances of brick:Air_Flow_Sensor on path brick:hasPoint", + "urn:building/vav1 needs at least 1 instances of brick:Temperature_Sensor on path brick:hasPoint", } assert not results.get_json()["valid"]