def only_test(topology): ''' Prepare and run Tempest tests, provide topology: aio, 2role, fullha ''' log.info("Configuring Openstack for tempest") if not topology or topology not in ("aio", "2role", "fullha"): raise NameError("Topology should be one of: 'aio', '2role', 'fullha'") prepare_coi(topology) run_tests(force=False)
def only_test(): ''' Prepare and run Tempest tests ''' log.info("Configuring Openstack for tempest") prepare_with_ip() log.info("Started testing Openstack") run_tests(force=False)
def run_test_custom_file(private=True): """ Configure tempest on devstack with custom configuration and run tests with newly created file locally """ prepare_devstack(web=True, copy=False, remote=False, private=private) run_tests()
def run_test_ready_file(private=True): """ Use existing tempest configuration file in current directory and run tests with it locally """ prepare_devstack(web=False, copy=False, remote=False, private=private) run_tests()
def run_test_original_file(private=True): """ Copy tempest configuration from devstack installation and run tests with it locally """ prepare_devstack(web=False, copy=True, remote=False, private=private) run_tests()