From e1c488247fc84e114cba7ea56b046fe493f164cc Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Wed, 25 May 2016 18:27:24 -0700 Subject: [PATCH] remove redundant test --- src/wormhole/test/test_wormhole.py | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/src/wormhole/test/test_wormhole.py b/src/wormhole/test/test_wormhole.py index 3570261..47b097a 100644 --- a/src/wormhole/test/test_wormhole.py +++ b/src/wormhole/test/test_wormhole.py @@ -570,25 +570,6 @@ class Basic(unittest.TestCase): for success in (False, True): self._test_verifier(when, order, success) - def test_verifier_4(self): - # ask early, key-then-confirm, success - timing = DebugTiming() - w = wormhole._Wormhole(APPID, u"relay_url", reactor, None, timing) - w._drop_connection = mock.Mock() - w._ws_send_command = mock.Mock() - w._mailbox_state = wormhole.OPEN - d = w.verify() - self.assertNoResult(d) - - w._key = b"key" - w._event_established_key() - self.assertNoResult(d) # still waiting for confirmation message - confkey = w._derive_confirmation_key() - nonce = os.urandom(wormhole.CONFMSG_NONCE_LENGTH) - confmsg = wormhole.make_confmsg(confkey, nonce) - w._event_received_confirm(confmsg) - self.successResultOf(d) - def test_api_errors(self): # doing things you're not supposed to do