82
82
self.read_response(iterable)
83
83
self.assertEqual('405 Method not allowed', self.status)
84
84
self.assertTrue(('Allow', 'POST') in self.headers)
86
86
def _fake_make_request(self, transport, write_func, bytes, rcp):
87
87
request = FakeRequest(transport, write_func)
88
88
request.accept_bytes(bytes)
92
92
def test_smart_wsgi_app_uses_given_relpath(self):
93
93
# The SmartWSGIApp should use the "bzrlib.relpath" field from the
94
94
# WSGI environ to clone from its backing transport to get a specific