test: clean up GUI sync tests

This commit is contained in:
thePR0M3TH3AN
2025-07-19 18:17:39 -04:00
parent ec52d2eda0
commit 557af9745a

View File

@@ -60,6 +60,7 @@ def test_start_vault_sync_schedules_task():
assert tasks
asyncio.get_event_loop().run_until_complete(tasks[0])
assert nostr.called
win.cleanup()
def test_status_updates_on_bus_events():
@@ -73,3 +74,4 @@ def test_status_updates_on_bus_events():
assert win.status.text == "Syncing..."
bus.publish("sync_finished")
assert "Last sync:" in win.status.text
win.cleanup()