summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorYujun Zhang <zhang.yujunz@zte.com.cn>2016-10-07 13:52:03 +0800
committerYujun Zhang <zhang.yujunz@zte.com.cn>2016-10-07 15:31:59 +0800
commit65aa5a6ba57e43e8bb2dce569426c41f58e091e6 (patch)
treee88d1f9acbe4bea131b9157bcd6be1d6e2b37b10 /tests
parent33d953b9c4a7ecada927af3b1666d15e3f389beb (diff)
Rename 'max-minutes' to 'max_minutes'
The naming style of query param should be consistent Change-Id: Ifb9bb3ecfbbf8caee7a00d3968a627c35d965bcb Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
Diffstat (limited to 'tests')
-rw-r--r--tests/qtip_server_test.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/qtip_server_test.py b/tests/qtip_server_test.py
index 511d209a..59e011ef 100644
--- a/tests/qtip_server_test.py
+++ b/tests/qtip_server_test.py
@@ -33,7 +33,7 @@ class TestClass:
'installer_ip': '10.20.0.2',
'pod_name': 'default',
'suite_name': 'compute',
- 'max-minutes': 60,
+ 'max_minutes': 60,
'type': 'BM',
'state': 'finished',
'state_detail': [{'state': 'finished', 'benchmark': 'dhrystone_bm.yaml'},
@@ -45,7 +45,7 @@ class TestClass:
({'installer_type': 'fuel',
'installer_ip': '10.20.0.2',
'pod_name': 'zte-pod1',
- 'max-minutes': 20,
+ 'max_minutes': 20,
'suite_name': 'compute',
'type': 'VM'},
{'job_id': '',
@@ -53,7 +53,7 @@ class TestClass:
'installer_ip': '10.20.0.2',
'pod_name': 'zte-pod1',
'suite_name': 'compute',
- 'max-minutes': 20,
+ 'max_minutes': 20,
'type': 'VM',
'state': 'finished',
'state_detail': [{u'state': u'finished', u'benchmark': u'dhrystone_vm.yaml'},