Fix light and georeference feature tests

Not setting the year meant our date calc tests would fail every year :)
This commit is contained in:
Dion Moult
2025-02-07 17:19:27 +11:00
parent f09002c7e2
commit bb46a1659d
4 changed files with 11 additions and 4 deletions
+2 -2
View File
@@ -274,8 +274,8 @@ def i_see_the_prop_property(prop):
@then(parsers.parse('I don\'t see the "{prop}" property'))
def i_dont_see_the_prop_property(prop):
panel_spy.refresh_spy()
assert [
p for p in panel_spy.spied_props if prop not in (p["name"], p["text"], p["icon"])
assert not [
p for p in panel_spy.spied_props if prop in (p["name"], p["text"], p["icon"])
], f"Property {prop} not found in {panel_spy.spied_props}"