1
0
mirror of https://github.com/webrecorder/pywb.git synced 2025-03-15 08:04:49 +01:00

Assert TestInputReq.app exists

This commit is contained in:
Tessa Walsh 2024-03-28 16:09:49 -04:00
parent 2f5d1692ac
commit b6e8d7f64a

View File

@ -44,6 +44,7 @@ class TestInputReq(object):
self.testapp = webtest.TestApp(self.app)
def test_get_direct(self):
assert self.app
res = self.testapp.get('/test/http://example.com/', headers={'Foo': 'Bar'})
assert res.text == '\
GET /test/http://example.com/ HTTP/1.0\r\n\