mirror of
https://github.com/chatmail/relay.git
synced 2026-05-19 20:38:05 +00:00
refine test
This commit is contained in:
@@ -107,6 +107,7 @@ def test_notifier_thread_run():
|
|||||||
notifier.thread_run_one(ReqMock())
|
notifier.thread_run_one(ReqMock())
|
||||||
url, data, timeout = requests[0]
|
url, data, timeout = requests[0]
|
||||||
assert data == "01234"
|
assert data == "01234"
|
||||||
|
assert len(notifier.guid2token) == 1
|
||||||
|
|
||||||
|
|
||||||
def test_notifier_thread_run_gone_removes_token():
|
def test_notifier_thread_run_gone_removes_token():
|
||||||
|
|||||||
Reference in New Issue
Block a user