179
179
backing_transport = app.app.backing_transport
180
180
chroot_backing_transport = backing_transport.server.backing_transport
181
181
self.assertEndsWith(chroot_backing_transport.base, 'a%20root/')
183
183
self.assertEqual(app.path_var, 'a path_var')
185
185
def test_incomplete_request(self):
186
186
transport = FakeTransport()
187
187
wsgi_app = wsgi.SmartWSGIApp(transport)
188
def make_request(transport, write_func, bytes, root_client_path):
189
189
request = IncompleteRequest(transport, write_func)
190
190
request.accept_bytes(bytes)