Skip to content

Commit

Permalink
Fixed python-checker errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ganeshmurthy committed Dec 19, 2024
1 parent a738887 commit 4a3e70e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/system_tests_http_observer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down Expand Up @@ -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],
Expand Down

0 comments on commit 4a3e70e

Please sign in to comment.