Fixed test after b035129

This commit is contained in:
Andrej730
2023-06-21 12:52:55 +05:00
parent 5e019bbc42
commit 4d3ed81971
2 changed files with 13 additions and 2 deletions
+6
View File
@@ -600,6 +600,12 @@ def the_object_name_has_a_thickness_thick_layered_material_containing_the_materi
assert is_x(total_thickness, float(thickness))
assert material_name in material_names
@then(parsers.parse('the object "{name}" has no IFC materials'))
def the_object_has_no_ifc_materials(name):
element = tool.Ifc.get_entity(the_object_name_exists(name))
material = ifcopenshell.util.element.get_material(element)
assert material is None
@then(
parsers.parse(