From 672cdda8aa442ed152480d93fa1c67b6bce9e9cc Mon Sep 17 00:00:00 2001 From: Zdenek Styblik Date: Tue, 2 Jul 2024 15:18:21 +0200 Subject: [PATCH] Use capture_requests arg in MyContentServer --- tests/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/conftest.py b/tests/conftest.py index 01e25a9..05265e3 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -19,7 +19,7 @@ class MyContentServer(ContentServer): def __init__(self, capture_requests=False, *args, **kwargs): """Init.""" self.captured_requests = [] - self.capture_requests = False + self.capture_requests = capture_requests super(MyContentServer, self).__init__(*args, **kwargs) def __call__(self, environ, start_response):