コード例 #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
ファイル: devstack.py プロジェクト: andylamb93/os-sqe
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
ファイル: devstack.py プロジェクト: andylamb93/os-sqe
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
ファイル: devstack.py プロジェクト: andylamb93/os-sqe
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
ファイル: redhat.py プロジェクト: echoyang2014/openstack-sqe
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()