Minor fix where you'd randomly get incorrect ports connected based on the first birdsong of spring

This commit is contained in:
Dion Moult
2025-03-14 14:41:14 +11:00
parent 8f6cd18288
commit 069b630b16
4 changed files with 57 additions and 6 deletions
+8 -1
View File
@@ -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"))