Skip to content

Commit

Permalink
Assert TestInputReq.app exists
Browse files Browse the repository at this point in the history
  • Loading branch information
tw4l committed Mar 28, 2024
1 parent 2f5d169 commit b6e8d7f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pywb/warcserver/test/test_inputreq.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ def setup(self):
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\
Expand Down

0 comments on commit b6e8d7f

Please sign in to comment.