File tree Expand file tree Collapse file tree
aikido_zen/background_process/cloud_connection_manager Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -144,15 +144,8 @@ def test_on_detected_attack_request_data_and_attack_data(
144144 assert request_data ["method" ] == "GET"
145145 assert request_data ["url" ] == "http://localhost:8080/hello"
146146 assert request_data ["ipAddress" ] == "198.51.100.23"
147- assert request_data ["body" ] == 123
148- assert request_data ["headers" ] == {
149- "CONTENT_TYPE" : ["application/json" ],
150- "USER_AGENT" : ["Mozilla/5.0" ],
151- "COOKIE" : ["sessionId=abc123xyz456;" ],
152- "HEADER_1" : ["header 1 value" ],
153- "HEADER_2" : ["Header 2 value" ],
154- "HOST" : ["localhost:8080" ],
155- }
147+ assert not "body" in request_data
148+ assert not "headers" in request_data
156149 assert request_data ["source" ] == "django"
157150 assert request_data ["route" ] == "/hello"
158151 assert request_data ["userAgent" ] == "Mozilla/5.0"
You can’t perform that action at this time.
0 commit comments