示例#1
0
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)
示例#2
0
文件: coi.py 项目: andylamb93/os-sqe
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)
示例#3
0
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)
示例#4
0
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()
示例#5
0
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()
示例#6
0
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()
示例#7
0
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)
示例#8
0
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()
示例#9
0
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()
示例#10
0
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()