mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-15 08:04:49 +01:00
Add asserts to TestInputReq for app and testapp
This commit is contained in:
parent
bfbb4ab09d
commit
778556d7a0
@ -41,7 +41,9 @@ class InputReqApp(object):
|
||||
class TestInputReq(object):
|
||||
def setup(self):
|
||||
self.app = InputReqApp()
|
||||
assert self.app
|
||||
self.testapp = webtest.TestApp(self.app)
|
||||
assert self.testapp
|
||||
|
||||
def test_get_direct(self):
|
||||
res = self.testapp.get('/test/http://example.com/', headers={'Foo': 'Bar'})
|
||||
|
Loading…
x
Reference in New Issue
Block a user