aboutsummaryrefslogtreecommitdiffstats
path: root/hdv/redfish/test/test_hdv_redfish.py
diff options
context:
space:
mode:
authorShubham Mishra <shivam828787@gmail.com>2020-07-22 15:56:25 +0530
committerShubham Mishra <shivam828787@gmail.com>2020-08-25 21:54:25 +0530
commitdcdd46fe975c13c56a246ba0a6c79516a6afda77 (patch)
tree3a45f7cdf9a8b14c4c1dba63058ea108d9d48dc1 /hdv/redfish/test/test_hdv_redfish.py
parent1bf4bd7a74febb5f837f606940a17c48530eebbd (diff)
add pytest for main engine and integrated testapi
Change-Id: I9fffd0e04758ddbd0fd05a6358dd4e162c9c8e05 Signed-off-by: Shubham Mishra <shivam828787@gmail.com>
Diffstat (limited to 'hdv/redfish/test/test_hdv_redfish.py')
-rw-r--r--hdv/redfish/test/test_hdv_redfish.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/hdv/redfish/test/test_hdv_redfish.py b/hdv/redfish/test/test_hdv_redfish.py
index 078f2b7..ac951a4 100644
--- a/hdv/redfish/test/test_hdv_redfish.py
+++ b/hdv/redfish/test/test_hdv_redfish.py
@@ -36,7 +36,7 @@ def test_create_real_url(sampleCase, expected_list):
bmc_ip = ""
depends_id = {}
http_handler = UrllibHttpHandler()
- url_list = create_real_url(url, depends_id, None, key_flag_dict, http_handler, bmc_ip)
+ url_list = create_real_url(url, depends_id, key_flag_dict, http_handler, bmc_ip)
assert expected_list == url_list
@@ -49,7 +49,7 @@ def test_execute_final_url(sampleCase):
depends_id = {}
http_handler = UrllibHttpHandler()
config_file = {}
- rsp_list = execute_final_url(config_file, depends_id,
+ rsp_list = execute_final_url(depends_id,
http_handler, method, url, req_body, key_flag_dict, bmc_ip)
assert mock_server[url] == rsp_list
@@ -71,7 +71,7 @@ def test_parse_result(sampleCase, expected_return_value_list):
depends_id = {}
http_handler = UrllibHttpHandler()
config_file = {}
- rsp_list = execute_final_url(config_file, depends_id,
+ rsp_list = execute_final_url(depends_id,
http_handler, method, url, req_body, key_flag_dict, bmc_ip)
return_value_list, return_code_list, final_rst, flag = \
@@ -98,7 +98,7 @@ def test_parse_data(sampleCase, expected_act_pairs_list):
depends_id = {}
http_handler = UrllibHttpHandler()
config_file = {}
- rsp_list = execute_final_url(config_file, depends_id,
+ rsp_list = execute_final_url(depends_id,
http_handler, method, url, req_body, key_flag_dict, bmc_ip)
for i in range (0,len(rsp_list)):