1
0
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:
Tessa Walsh 2024-03-28 14:33:10 -04:00
parent bfbb4ab09d
commit 778556d7a0

View File

@ -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'})