l.s.t.t.InProcessProxyAuthAPIFixture(fixtures.Fixture) : class documentation

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
@defer.inlineCallbacks
def start(self):
Undocumented
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.