From 778556d7a0ac8b5cb4d2238df5c28262575013f9 Mon Sep 17 00:00:00 2001 From: Tessa Walsh Date: Thu, 28 Mar 2024 14:33:10 -0400 Subject: [PATCH] Add asserts to TestInputReq for app and testapp --- pywb/warcserver/test/test_inputreq.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pywb/warcserver/test/test_inputreq.py b/pywb/warcserver/test/test_inputreq.py index 041cb61e2..b3bc2de1c 100644 --- a/pywb/warcserver/test/test_inputreq.py +++ b/pywb/warcserver/test/test_inputreq.py @@ -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'})