Skip to content

Commit f740b94

Browse files
committed
Fix NAP test to not create duplicate headers
1 parent e1d56b7 commit f740b94

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/suite/test_app_protect_integration.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -335,9 +335,9 @@ def test_ap_sec_logs_on(
335335

336336
print("----------------------- Send valid request ----------------------")
337337
headers = {
338-
"host": ingress_host,
339-
"user-agent": "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:47.0) Gecko/20100101 Firefox/47.0"
340-
}
338+
"Host": ingress_host,
339+
"User-Agent": "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:47.0) Gecko/20100101 Firefox/47.0"
340+
}
341341
response = requests.get(
342342
appprotect_setup.req_url, headers=headers, verify=False
343343
)

0 commit comments

Comments
 (0)