summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen'ichi Ohmichi <ken-oomichi@wx.jp.nec.com>2017-03-06 19:59:42 -0800
committerKen'ichi Ohmichi <ken-oomichi@wx.jp.nec.com>2017-03-06 20:00:11 -0800
commit92986b2f87af52c121231d72a40825e80782fd26 (patch)
tree2cf2e16eac2fe9dbddfbe9d3b31745c315e1de09
parentb6f352de92a3f1a588e88afac936ec230592947f (diff)
Switch to decorators.idempotent_id
test.idempotent_id is being kept temporary to migrate to new lib interface. Now idempotent_id is available as Tempest stable interface decorators and all plugins tests using the old decorator should be switched to new interface. In future, Once all plugins are switched to new decorator Tempest will remove the test.idempotent_id Change-Id: I9c7ffec7e65ea2cd3c9807fac3909317d8923c85 Related-Bug: 1616913
Notes
Notes (review): Code-Review+2: Richard Jones <r1chardj0n3s@gmail.com> Code-Review+2: Rob Cresswell <robert.cresswell@outlook.com> Workflow+1: Rob Cresswell <robert.cresswell@outlook.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Wed, 08 Mar 2017 09:44:57 +0000 Reviewed-on: https://review.openstack.org/442260 Project: openstack/tempest-horizon Branch: refs/heads/master
-rw-r--r--tempest_horizon/tests/scenario/test_dashboard_basic_ops.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tempest_horizon/tests/scenario/test_dashboard_basic_ops.py b/tempest_horizon/tests/scenario/test_dashboard_basic_ops.py
index e4a13d9..67ed227 100644
--- a/tempest_horizon/tests/scenario/test_dashboard_basic_ops.py
+++ b/tempest_horizon/tests/scenario/test_dashboard_basic_ops.py
@@ -17,8 +17,8 @@ from six.moves.urllib import parse
17from six.moves.urllib import request 17from six.moves.urllib import request
18 18
19from tempest import config 19from tempest import config
20from tempest.lib import decorators
20from tempest.scenario import manager 21from tempest.scenario import manager
21from tempest import test
22 22
23import ssl 23import ssl
24import sys 24import sys
@@ -133,7 +133,7 @@ class TestDashboardBasicOps(manager.ScenarioTest):
133 return ((sys.version_info[0] == 2 and sys.version_info[2] >= 9) or 133 return ((sys.version_info[0] == 2 and sys.version_info[2] >= 9) or
134 (sys.version_info[0] == 3)) 134 (sys.version_info[0] == 3))
135 135
136 @test.idempotent_id('4f8851b1-0e69-482b-b63b-84c6e76f6c80') 136 @decorators.idempotent_id('4f8851b1-0e69-482b-b63b-84c6e76f6c80')
137 def test_basic_scenario(self): 137 def test_basic_scenario(self):
138 creds = self.os.credentials 138 creds = self.os.credentials
139 self.check_login_page() 139 self.check_login_page()