test: test_save_and_load_haiku needed to be adjusted for the new Haiku dataclass

This commit is contained in:
Christoph J. Scherr 2025-02-25 18:40:23 +01:00
parent b32996499c
commit c7d8b9504a
No known key found for this signature in database
GPG key ID: 9EB784BB202BB7BB

View file

@ -25,7 +25,7 @@ def test_save_and_load_any(store_manager: StoreManager):
def test_save_and_load_haiku(store_manager: StoreManager):
h = Haiku(text="foobar")
h = Haiku(lines=["foobar", "qux"])
hid = store_manager.save_haiku(h)
h_loaded = store_manager.load_haiku(hid)