diff options
author | Yujun Zhang <zhang.yujunz@zte.com.cn> | 2016-10-08 01:27:36 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2016-10-08 01:27:36 +0000 |
commit | fbd80aeee2f3605ebbfe18b4401e255476ab688a (patch) | |
tree | a7e1dfda5375e902a0fb0d3079107a7580fed524 /tests | |
parent | 4603be9ac48b48be0d39e8473c30f17d0ff86388 (diff) | |
parent | 248e724a636907c5629ade8fe9febf6a3cec1dc6 (diff) |
Merge "Add benchmark name in post request parameters"
Diffstat (limited to 'tests')
-rw-r--r-- | tests/qtip_server_test.py | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/tests/qtip_server_test.py b/tests/qtip_server_test.py index 59e011ef..2f9eebf1 100644 --- a/tests/qtip_server_test.py +++ b/tests/qtip_server_test.py @@ -47,7 +47,8 @@ class TestClass: 'pod_name': 'zte-pod1', 'max_minutes': 20, 'suite_name': 'compute', - 'type': 'VM'}, + 'type': 'VM', + 'benchmark_name': 'dhrystone_vm.yaml'}, {'job_id': '', 'installer_type': 'fuel', 'installer_ip': '10.20.0.2', @@ -56,11 +57,7 @@ class TestClass: 'max_minutes': 20, 'type': 'VM', 'state': 'finished', - 'state_detail': [{u'state': u'finished', u'benchmark': u'dhrystone_vm.yaml'}, - {u'state': u'finished', u'benchmark': u'whetstone_vm.yaml'}, - {u'state': u'finished', u'benchmark': u'ramspeed_vm.yaml'}, - {u'state': u'finished', u'benchmark': u'dpi_vm.yaml'}, - {u'state': u'finished', u'benchmark': u'ssl_vm.yaml'}], + 'state_detail': [{u'state': u'finished', u'benchmark': u'dhrystone_vm.yaml'}], 'result': 0}) ]) @mock.patch('restful_server.qtip_server.args_handler.prepare_and_run_benchmark') |