mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-20 15:08:51 +00:00
Minor fix where you'd randomly get incorrect ports connected based on the first birdsong of spring
This commit is contained in:
@@ -1200,7 +1200,7 @@ def the_object_name_is_at_location(name, location):
|
||||
obj_location = the_object_name_exists(name).location
|
||||
assert (
|
||||
obj_location - Vector([float(co) for co in location.split(",")])
|
||||
).length < 0.1, f"Object is at {obj_location}"
|
||||
).length < 0.1, f"Object is at {obj_location} instead of {location}"
|
||||
|
||||
|
||||
@then(parsers.parse('the object "{name}" has a vertex at "{location}"'))
|
||||
@@ -1451,6 +1451,13 @@ def run_test_code():
|
||||
pass
|
||||
|
||||
|
||||
@given(parsers.parse("I fail"))
|
||||
@when(parsers.parse("I fail"))
|
||||
@then(parsers.parse("I fail"))
|
||||
def i_fail():
|
||||
assert False
|
||||
|
||||
|
||||
@given(parsers.parse("I save sample test files"))
|
||||
@when(parsers.parse("I save sample test files"))
|
||||
@then(parsers.parse("I save sample test files"))
|
||||
|
||||
Reference in New Issue
Block a user