Skip to content

Commit

Permalink
Add asserts to TestInputReq for app and testapp
Browse files Browse the repository at this point in the history
  • Loading branch information
tw4l committed Mar 28, 2024
1 parent bfbb4ab commit 778556d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pywb/warcserver/test/test_inputreq.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ def __call__(self, environ, start_response):
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'})
Expand Down

0 comments on commit 778556d

Please sign in to comment.