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:
parent
2f5d1692ac
commit
b6e8d7f64a
@ -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\
|
||||
|
Loading…
x
Reference in New Issue
Block a user