Part of lp.snappy.tests.test_snapbuildbehaviour View In Hierarchy
A fixture that pretends to be the proxy authentication API.
Users of this fixture must call the `start` method, which returns a
`Deferred`, and arrange for that to get back to the reactor. This is
necessary because the basic fixture API does not allow `setUp` to return
anything. For example:
class TestSomething(TestCase):
run_tests_with = AsynchronousDeferredRunTest.make_factory(
timeout=10)
@defer.inlineCallbacks
def setUp(self):
super(TestSomething, self).setUp()
yield self.useFixture(InProcessProxyAuthAPIFixture()).start()
| Method | start | Undocumented |