83
83
self.assertTrue(('Allow', 'POST') in self.headers)
85
85
def test_smart_wsgi_app_uses_given_relpath(self):
86
87
# The SmartWSGIApp should use the "bzrlib.relpath" field from the
87
88
# WSGI environ to construct the transport for this request, by cloning
88
89
# its base transport with the given relpath.
89
90
transport = FakeTransport()
90
91
wsgi_app = wsgi.SmartWSGIApp(transport)
91
93
def make_request(transport, write_func):
92
94
request = FakeRequest(transport, write_func)