From bb090897b43638b4aba6ed397a1ada0e344319d7 Mon Sep 17 00:00:00 2001 From: Salvatore Ingala <6681844+bigspider@users.noreply.github.com> Date: Thu, 24 Oct 2019 12:23:56 +0800 Subject: [PATCH] Test that signature is None if appointment is not added --- test/unit/test_watcher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/test_watcher.py b/test/unit/test_watcher.py index e5bef7e..f99bc4c 100644 --- a/test/unit/test_watcher.py +++ b/test/unit/test_watcher.py @@ -118,7 +118,6 @@ def test_add_appointment(run_bitcoind, watcher): added_appointment, sig = watcher.add_appointment(appointment) assert added_appointment is True - verify_signature(appointment, sig, public_key) @@ -137,6 +136,7 @@ def test_add_too_many_appointments(watcher): added_appointment, sig = watcher.add_appointment(appointment) assert added_appointment is False + assert sig is None def test_do_subscribe(watcher):