From 4a3e70eda7aeff42687ac4c9292543554da7deb9 Mon Sep 17 00:00:00 2001 From: ganeshmurthy Date: Thu, 19 Dec 2024 11:44:51 -0500 Subject: [PATCH] Fixed python-checker errors --- tests/system_tests_http_observer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/system_tests_http_observer.py b/tests/system_tests_http_observer.py index c5d31d8f3..a33fbe8a7 100644 --- a/tests/system_tests_http_observer.py +++ b/tests/system_tests_http_observer.py @@ -533,7 +533,8 @@ def test_head_request(self): self.assertTrue(success, f"Failed to match records {snooper_thread.get_results()}") # Pass traffic with comma separated X-Forwarded-For header: - _, out, _ = run_local_curl(get_address(self.router_qdra), args=['--head', '--header', 'X-Forwarded-For: 192.168.0.1, 203.168.2.2']) + _, out, _ = run_local_curl(get_address(self.router_qdra), args=['--head', '--header', + 'X-Forwarded-For: 192.168.0.1, 203.168.2.2']) self.assertIn('HTTP/2 200', out) self.assertIn('content-type: text/html', out) @@ -576,7 +577,6 @@ def test_head_request(self): success = retry(lambda: snooper_thread.match_records(expected)) self.assertTrue(success, f"Failed to match records {snooper_thread.get_results()}") - def test_get_image_jpg(self): # Run curl 127.0.0.1:port --output images/test.jpg --http2-prior-knowledge snooper_thread = VFlowSnooperThread(self.router_qdra.addresses[0],