summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2018-02-09 21:54:21 +0000
committerColin Watson <cjwatson@debian.org>2019-12-26 22:46:22 +0000
commite1a7ba951eb867e0336c8cd090537d11ea5954ed (patch)
treea3bf39dadc87743e0ea18cc302f47c1d966466ed /setup.py
parenta583a4025a5ddc09a2e56f89f371c6b1d8dc768e (diff)
Improve mock setup for 407-then-unknown test
`test_407_then_unknown_interaction_methods` causes the client to fetch the possible methods supported by the discharger (because it's told that it only supports a non-window method). This is currently unmocked, which causes the client to actually contact `http://example.com/visit`. This fails in Launchpad builds because they run with a restrictive network setup that doesn't even expose DNS lookups for non-permitted hosts. There isn't really a good way to simulate this without setting up a similar stunt DNS server (though perhaps installing an `httmock.all_requests` fallback mock that raises an exception would be a good idea?), but this seems to be the only failure at the moment. Forwarded: https://github.com/go-macaroon-bakery/py-macaroon-bakery/pull/45 Last-Update: 2018-02-09 Patch-Name: improve-unknown-interaction-mock.patch Gbp-Pq: Name improve-unknown-interaction-mock.patch
Diffstat (limited to 'setup.py')
0 files changed, 0 insertions, 0 deletions