mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2025-09-08 07:18:47 +00:00
test: clean up GUI sync tests
This commit is contained in:
@@ -60,6 +60,7 @@ def test_start_vault_sync_schedules_task():
|
|||||||
assert tasks
|
assert tasks
|
||||||
asyncio.get_event_loop().run_until_complete(tasks[0])
|
asyncio.get_event_loop().run_until_complete(tasks[0])
|
||||||
assert nostr.called
|
assert nostr.called
|
||||||
|
win.cleanup()
|
||||||
|
|
||||||
|
|
||||||
def test_status_updates_on_bus_events():
|
def test_status_updates_on_bus_events():
|
||||||
@@ -73,3 +74,4 @@ def test_status_updates_on_bus_events():
|
|||||||
assert win.status.text == "Syncing..."
|
assert win.status.text == "Syncing..."
|
||||||
bus.publish("sync_finished")
|
bus.publish("sync_finished")
|
||||||
assert "Last sync:" in win.status.text
|
assert "Last sync:" in win.status.text
|
||||||
|
win.cleanup()
|
||||||
|
Reference in New Issue
Block a user