summaryrefslogtreecommitdiffstats
path: root/functest/opnfv_tests/openstack/snaps/api_check.py
blob: 17d05b922a35f118e793c588e235538a470bbccc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Copyright (c) 2015 All rights reserved
# This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
#
# http://www.apache.org/licenses/LICENSE-2.0

import unittest

from snaps import test_suite_builder

from functest.core.pytest_suite_runner import PyTestSuiteRunner
from functest.opnfv_tests.openstack.snaps import snaps_utils
from functest.utils.constants import CONST


class ApiCheck(PyTestSuiteRunner):
    """
    This test executes the Python Tests included with the SNAPS libraries
    that exercise many of the OpenStack APIs within Keystone, Glance, Neutron,
    and Nova
    """
    def __init__(self):
        super(ApiCheck, self).__init__()

        self.suite = unittest.TestSuite()
        self.case_name = "api_check"
        ext_net_name = snaps_utils.get_ext_net_name()

        test_suite_builder.add_openstack_api_tests(
            self.suite,
            CONST.openstack_creds,
            ext_net_name,
            use_keystone=CONST.snaps_use_keystone)
| ONOS | ONOS | ONOS | ONOS | +----------------+-------------+-------------+-------------+-------------+ | Doctor | all | no | no | no | +----------------+-------------+-------------+-------------+-------------+ all means that the test case is run on all the scenarios related to the installer. Functest results from continuous integration can be found in: * jenkins logs: https://build.opnfv.org/ci/view/functest/ * artifacts http://artifacts.opnfv.org/, it includes the tempest logs and the Rally html pages Additional test result assests and information ============================================== The Functest deals with 2 dashboards: * The `Test Dashboard`_ provides an overview of all the projects * The `Functest Dashboard`_ dedicated to Functest real-time test results * is used to provide a quick overview of the different testcases according to installer and scenario. .. _`Test Dashboard`: https://www.opnfv.org/opnfvtestgraphs/per-test-projects/default .. _`Functest Dashboard`: https://testresults.opnfv.org/dashboard/ .. _`Functest user guide`: artifacts.opnfv.org/functest/docs/userguide/index.html .. _`developer guide`: artifacts.opnfv.org/functest/docs/devguide/index.html .. _`configuration guide`: artifacts.opnfv.org/functest/docs/configguide/index.html