From 81268c17e184ac4bc6a95c77f87713827dcfc73d Mon Sep 17 00:00:00 2001 From: Vitaly Gavensky Date: Mon, 20 May 2024 14:41:55 +0300 Subject: [PATCH] Rest API test (initial steps) --- .../tests/exclude_list_rest_api_tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/pdr_deterministic_plugin/tests/exclude_list_rest_api_tests.py b/plugins/pdr_deterministic_plugin/tests/exclude_list_rest_api_tests.py index fae05c643..a7051336f 100644 --- a/plugins/pdr_deterministic_plugin/tests/exclude_list_rest_api_tests.py +++ b/plugins/pdr_deterministic_plugin/tests/exclude_list_rest_api_tests.py @@ -34,7 +34,7 @@ def test_exclude_list_rest_api(): ] # Add ports to excluded list - response = requests.put(url, data=json.dumps(excluded_ports), headers={'Content-Type': 'application/json'}, timeout=5, auth = None, verify = False) + response = requests.put(url, data=json.dumps(excluded_ports), timeout=5) assert response.status_code == http.client.OK