diff options
author | Jose Lausuch <jose.lausuch@ericsson.com> | 2016-09-06 13:25:38 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2016-09-06 13:25:39 +0000 |
commit | e8af84a1bd81becee94d6a9b9513570f253c7c45 (patch) | |
tree | c3a3024006ee77679d34abfcbccee1af38c1959e /testcases/vnf | |
parent | 8c579ce26cfbb59426d6d88c89d8ff12d8d1ef64 (diff) | |
parent | a7d390f6a5d05cb632d933c03f170b5bc25be534 (diff) |
Merge "Remove all logers as utils method args." into stable/colorado
Diffstat (limited to 'testcases/vnf')
-rwxr-xr-x | testcases/vnf/vIMS/vIMS.py | 6 | ||||
-rwxr-xr-x | testcases/vnf/vRNC/parser.py | 5 |
2 files changed, 3 insertions, 8 deletions
diff --git a/testcases/vnf/vIMS/vIMS.py b/testcases/vnf/vIMS/vIMS.py index ffcd09b84..b72e4cd81 100755 --- a/testcases/vnf/vIMS/vIMS.py +++ b/testcases/vnf/vIMS/vIMS.py @@ -114,7 +114,6 @@ def step_failure(step_name, error_msg): status = "PASS" functest_utils.push_results_to_db("functest", "vims", - None, TESTCASE_START_TIME, stop_time, status, @@ -236,7 +235,6 @@ def test_clearwater(): functest_utils.push_results_to_db("functest", "vims", - logger, TESTCASE_START_TIME, end_time_ts, status, @@ -399,10 +397,10 @@ def main(): logger.info("Prepare virtualenv for cloudify-cli") cmd = "chmod +x " + VIMS_DIR + "create_venv.sh" - functest_utils.execute_command(cmd, logger) + functest_utils.execute_command(cmd) time.sleep(3) cmd = VIMS_DIR + "create_venv.sh " + VIMS_DATA_DIR - functest_utils.execute_command(cmd, logger) + functest_utils.execute_command(cmd) cfy.download_manager_blueprint( CFY_MANAGER_BLUEPRINT['url'], CFY_MANAGER_BLUEPRINT['branch']) diff --git a/testcases/vnf/vRNC/parser.py b/testcases/vnf/vRNC/parser.py index 463261286..5ff207c14 100755 --- a/testcases/vnf/vRNC/parser.py +++ b/testcases/vnf/vRNC/parser.py @@ -43,7 +43,6 @@ def main(): start_time = time.time() log_file = RESULTS_DIR + "/parser.log" ret = functest_utils.execute_command(cmd, - logger, info=True, exit_on_error=False, output_file=log_file) @@ -54,8 +53,7 @@ def main(): start_time, stop_time) - functest_utils.logger_test_results(logger, - project, + functest_utils.logger_test_results(project, case_name, status, details) @@ -64,7 +62,6 @@ def main(): logger.debug("Report Parser Results to DB......") functest_utils.push_results_to_db(project, case_name, - logger, start_time, stop_time, status, |