Skip to content
Snippets Groups Projects
Commit 43f318b8 authored by Laurens Oostwegel's avatar Laurens Oostwegel
Browse files

Apply 2 suggestion(s) to 1 file(s)


Co-authored-by: default avatarDanijel Schorlemmer <ds@gfz-potsdam.de>
parent 667fd608
No related branches found
No related tags found
No related merge requests found
Pipeline #75325 passed
......@@ -40,12 +40,12 @@ def test_height_and_floorspace_rule(height_and_floorspace_rule):
}
result = height_and_floorspace_rule(**building_information)
message = (
f"The `height` attribute is not correct."
f"The `height` attribute is not correct. "
f"Expected `H:6` but estimated {result['height']}"
)
assert result["height"] == "H:6", message
message = (
f"The `floorspace` attribute is not correct."
f"The `floorspace` attribute is not correct. "
f"Expected `1350` but estimated {result['floorspace']}"
)
assert result["floorspace"] == pytest.approx(1350.0), message
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment