aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorzhifeng.jiang <jiang.zhifeng@zte.com.cn>2016-10-07 15:55:59 +0800
committerzhifeng.jiang <jiang.zhifeng@zte.com.cn>2016-10-10 20:58:59 +0800
commit97c34c1840de3b3812b306b2b3d6fc354862196a (patch)
treefeb158629d5b12a11b919049a2ee1bd5ff8dadb0 /tests
parent49a6694e6c286a12fcdc3b130315b92c1445e05b (diff)
Add testdb url and node_name in post parameters of restful server
JIRA:QTIP-99 Change-Id: I67f56eafba48ca096570674f5de2ff5aeb935d16 Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
Diffstat (limited to 'tests')
-rw-r--r--tests/qtip_server_test.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/qtip_server_test.py b/tests/qtip_server_test.py
index 2f9eebf1..9def21f8 100644
--- a/tests/qtip_server_test.py
+++ b/tests/qtip_server_test.py
@@ -35,6 +35,8 @@ class TestClass:
'suite_name': 'compute',
'max_minutes': 60,
'type': 'BM',
+ 'testdb_url': None,
+ 'node_name': None,
'state': 'finished',
'state_detail': [{'state': 'finished', 'benchmark': 'dhrystone_bm.yaml'},
{'state': 'finished', 'benchmark': 'whetstone_bm.yaml'},
@@ -48,7 +50,9 @@ class TestClass:
'max_minutes': 20,
'suite_name': 'compute',
'type': 'VM',
- 'benchmark_name': 'dhrystone_vm.yaml'},
+ 'benchmark_name': 'dhrystone_vm.yaml',
+ 'testdb_url': 'http://testresults.opnfv.org/test/api/v1',
+ 'node_name': 'zte-pod2'},
{'job_id': '',
'installer_type': 'fuel',
'installer_ip': '10.20.0.2',
@@ -56,6 +60,8 @@ class TestClass:
'suite_name': 'compute',
'max_minutes': 20,
'type': 'VM',
+ 'testdb_url': 'http://testresults.opnfv.org/test/api/v1',
+ 'node_name': 'zte-pod2',
'state': 'finished',
'state_detail': [{u'state': u'finished', u'benchmark': u'dhrystone_vm.yaml'}],
'result': 0})