Merge "Show team and repo badges on README"
diff --git a/tempest_horizon/plugin.py b/tempest_horizon/plugin.py
index e873ac3..b1817dc 100644
--- a/tempest_horizon/plugin.py
+++ b/tempest_horizon/plugin.py
@@ -35,8 +35,8 @@
dash_config.ServiceAvailableGroup)
def get_opt_lists(self):
- return [(dash_config.dashboard_group.name,
- dash_config.DashboardGroup),
- (dash_config.service_available_group.name,
- dash_config.ServiceAvailableGroup),
- ]
+ return [
+ (dash_config.dashboard_group.name, dash_config.DashboardGroup),
+ (dash_config.service_available_group.name,
+ dash_config.ServiceAvailableGroup),
+ ]
diff --git a/tempest_horizon/tests/scenario/test_dashboard_basic_ops.py b/tempest_horizon/tests/scenario/test_dashboard_basic_ops.py
index e4a13d9..a7cd4dd 100644
--- a/tempest_horizon/tests/scenario/test_dashboard_basic_ops.py
+++ b/tempest_horizon/tests/scenario/test_dashboard_basic_ops.py
@@ -17,7 +17,7 @@
from six.moves.urllib import request
from tempest import config
-from tempest.scenario import manager
+from tempest.lib import decorators
from tempest import test
import ssl
@@ -59,7 +59,7 @@
self.login = self._find_attr_value(attrs, 'action')
-class TestDashboardBasicOps(manager.ScenarioTest):
+class TestDashboardBasicOps(test.BaseTestCase):
"""The test suite for dashboard basic operations
@@ -70,6 +70,8 @@
"""
opener = None
+ credentials = ['primary']
+
@classmethod
def skip_checks(cls):
super(TestDashboardBasicOps, cls).skip_checks()
@@ -133,9 +135,9 @@
return ((sys.version_info[0] == 2 and sys.version_info[2] >= 9) or
(sys.version_info[0] == 3))
- @test.idempotent_id('4f8851b1-0e69-482b-b63b-84c6e76f6c80')
+ @decorators.idempotent_id('4f8851b1-0e69-482b-b63b-84c6e76f6c80')
def test_basic_scenario(self):
- creds = self.os.credentials
+ creds = self.os_primary.credentials
self.check_login_page()
self.user_login(creds.username, creds.password)
self.check_home_page()