The openstack_dashboard.test.integration_tests.tests.decorators ModuleΒΆ

openstack_dashboard.test.integration_tests.tests.decorators.services_required(*req_services)[source]

Decorator for marking test’s service requirements, if requirements are not met in the configuration file test is marked as skipped.

Usage: from openstack_dashboard.test.integration_tests.tests import decorators

@decorators.services_required(“sahara”) class TestLogin(helpers.BaseTestCase): . . .

from openstack_dashboard.test.integration_tests.tests import decorators

class TestLogin(helpers.BaseTestCase):

@decorators.services_required(“sahara”) def test_login(self):

login_pg = loginpage.LoginPage(self.driver, self.conf) . . .

Previous topic

The openstack_dashboard.test.integration_tests.tests.test_dashboard_help_redirection Module

Next topic

The openstack_dashboard.test.integration_tests.tests.test_keypair Module

This Page