6be50a4f0a
This test was incorrectly exercising a member of the endpoint record returned by `Manager.get_endpoints()`. In the test environment, the `.listen` Endpoint is actually a Mock, so calling e.g. `listen()` on `endpoints.listen` returns another Mock instead of a Deferred. Twisted's `assertNoResult` used to tolerate this silently, but as of Twisted-19.10 it throws an error, causing the test to fail. The fix is to assert that the record has attributes with the right names, but not assume they behave like normal Endpoints, and not call `.listen()` on them. closes #366 |
||
---|---|---|
.. | ||
dilate | ||
__init__.py | ||
common.py | ||
run_trial.py | ||
test_args.py | ||
test_cli.py | ||
test_eventual.py | ||
test_hints.py | ||
test_hkdf.py | ||
test_ipaddrs.py | ||
test_journal.py | ||
test_keys.py | ||
test_machines.py | ||
test_observer.py | ||
test_rlcompleter.py | ||
test_ssh.py | ||
test_tor_manager.py | ||
test_transit.py | ||
test_util.py | ||
test_wordlist.py | ||
test_wormhole.py | ||
test_xfer_util.py |