e2e_tests.test_dex package¶
Submodules¶
e2e_tests.test_dex.test_collect_http module¶
- class e2e_tests.test_dex.test_collect_http.TestDexCollectHttp¶
Bases:
objectTests for warp-dex HTTP collection via the warp-dex executable.
- test_http_get_dex_test_works(warp: WarpActions, system: SystemActions, url: str, expected_status: int)¶
Test the warp-dex http GET command by making a request to the specified URL.
- test_http_get_with_response_body(warp: WarpActions, system: SystemActions)¶
Test that warp-dex HTTP GET test can include response body.
- Test Steps:
Execute warp-dex http GET command with include_response_body=True
Verify the response contains the body field
- test_http_get_with_response_headers(warp: WarpActions, system: SystemActions)¶
Test that warp-dex HTTP GET test can include response headers.
- Test Steps:
Execute warp-dex http GET command with include_response_headers=True
Verify the response contains the headers field
- warp_dex_bin: str = 'warp-dex'¶
e2e_tests.test_dex.test_collect_traceroute module¶
- class e2e_tests.test_dex.test_collect_traceroute.TestDexCollectTraceroute¶
Bases:
objectTests for warp-dex Traceroute collection via the warp-dex executable.
- test_collect_traceroute(warp: WarpActions, system: SystemActions, host: str)¶
Test the warp-dex traceroute command by tracing to the specified host.
- warp_dex_bin: str = 'warp-dex'¶