refine test

This commit is contained in:
holger krekel
2024-03-07 13:08:35 +01:00
parent 7359ccb591
commit b5b9f867db

View File

@@ -107,6 +107,7 @@ def test_notifier_thread_run():
notifier.thread_run_one(ReqMock())
url, data, timeout = requests[0]
assert data == "01234"
assert len(notifier.guid2token) == 1
def test_notifier_thread_run_gone_removes_token():