This CR allows running "functional" tox job for different backends. Short description about expected workflow: 1. Gate job run ceilometer/ceilometer/tests/functional/hooks/post_test_hook.py with <backend> parameter. 2. This script run "tox -efunctional" command with defined variable CEILOMETER_TEST_BACKEND 3. After in "run-functional-tests.sh" setup script for the backend and testr are runned. In this CR running testr with pretty_tox.sh script added because it allows to use subunit-trace output which developed in tempest-lib and improve useful of testr output. Partially implements: blueprint ceilometer-functional-tests Change-Id: Idb66aca0b46779516db2baec856df8223dbe5c13
24 lines
807 B
Python
24 lines
807 B
Python
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
|
# not use this file except in compliance with the License. You may obtain
|
|
# a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
# License for the specific language governing permissions and limitations
|
|
# under the License.
|
|
|
|
""" This test is written to avoid failing running the functional test job
|
|
caused by `subunit-trace -f` with empty testr output
|
|
in ./tools/pretty-tox.sh"""
|
|
|
|
from oslotest import base
|
|
|
|
|
|
class TestEmpty(base.BaseTestCase):
|
|
def test_empty(self):
|
|
pass
|