summaryrefslogtreecommitdiffstats
path: root/vnftest/cmd
diff options
context:
space:
mode:
authorMoshe <moshehoa@amdocs.com>2019-01-17 18:04:54 +0200
committerMoshe <moshehoa@amdocs.com>2019-01-17 18:05:01 +0200
commit6ed81bdf24927a0900d4857d7652ae48cc8c78b1 (patch)
tree821fff9c7ef18e7ce57ce353e75420900c896948 /vnftest/cmd
parent1112c6e3e6eae3aa10680b2d7b0d653de1a4bc0b (diff)
Refactor test reporting
Issue-ID: VNFSDK-350 Change-Id: I66a82ab56dd6702903e4d1edf776a6d29cb4e836 Signed-off-by: Moshe <moshehoa@amdocs.com>
Diffstat (limited to 'vnftest/cmd')
-rw-r--r--vnftest/cmd/commands/task.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/vnftest/cmd/commands/task.py b/vnftest/cmd/commands/task.py
index e10ac30..b839c8a 100644
--- a/vnftest/cmd/commands/task.py
+++ b/vnftest/cmd/commands/task.py
@@ -45,19 +45,19 @@ class TaskCommands(object): # pragma: no cover
output_file_default, default=output_file_default)
@cliargs("--suite", help="process test suite file instead of a task file",
action="store_true")
- def do_start(self, args, **kwargs):
+ def do_start(self, args):
param = change_osloobj_to_paras(args)
self.output_file = param.output_file
result = {}
LOG.info('Task START')
try:
- result = Task().start(param, **kwargs)
+ result = Task(param).start()
except Exception as e:
self._write_error_data(e)
LOG.exception("")
- if result.get('result', {}).get('criteria') == 'PASS':
+ if result.get('criteria') == 'PASS':
LOG.info('Task SUCCESS')
else:
LOG.info('Task FAILED')