magic-wormhole/src/wormhole/test
Brian Warner caabb3510c add OneShotObserver and SequenceObserver, with tests
This factors out the various "give me a Deferred for an value that may or may
not eventually be successfully generated" routines in _DeferredWormhole. It
uses an eventual-send to fire the Deferreds to avoid plan-coordination
hazards when the attached callbacks then call back into the Wormhole object
before the rest of the state transition has finished.
2018-02-26 17:50:40 -08:00
..
__init__.py unsplit tests step 1: move files 2016-04-20 18:44:33 -07:00
common.py oops, typo 2018-02-21 01:57:07 -08:00
run_trial.py test/run_trial.py: protect run() with __name__ 2017-02-22 18:03:33 -08:00
test_args.py Relay and transit url conf from env vars 2017-10-04 14:38:00 -05:00
test_cli.py fix tests 2018-02-21 00:38:19 -08:00
test_eventual.py add eventual-send queue 2018-02-26 17:50:40 -08:00
test_hkdf.py added unicode_literals import to all apropriate modules 2016-06-04 12:42:59 -07:00
test_ipaddrs.py add test_ipaddrs, adapted from tahoe's test_iputil 2018-02-22 21:32:44 -08:00
test_journal.py journal: add test coverage 2017-04-06 12:22:45 -07:00
test_machines.py reject invalid codes with KeyFormatError 2017-07-23 00:02:09 -05:00
test_observer.py add OneShotObserver and SequenceObserver, with tests 2018-02-26 17:50:40 -08:00
test_rlcompleter.py _rlcompleter: use blockingCallFromThread for all Helper APIs 2018-02-14 01:13:30 -08:00
test_ssh.py update tests 2016-08-15 17:36:55 -07:00
test_tor_manager.py tor_manager: expose errors when --tor-control-port= is provided 2017-09-14 16:46:26 -07:00
test_transit.py test_transit: fix the miscaptured-loop-variable bug I always make 2017-12-01 13:00:05 -08:00
test_util.py test_util: tolerate os.statvfs missing on windows 2017-05-09 21:35:12 -07:00
test_wordlist.py wordlist: fix "1-word- TAB" case 2017-04-06 15:05:37 -07:00
test_wormhole.py reject invalid codes with KeyFormatError 2017-07-23 00:02:09 -05:00
test_xfer_util.py add some basic tests, doesn't cover everything 2016-08-15 17:35:34 -07:00