blazar/contrib/tempest
Masahito Muroi ca227e6e97 Replace tempest logging module with oslo_log
Tempest removed the oslo-incubator logging module from their
code base in March 2015. Our tempest tests were still using it,
which was causing import errors.

Change-Id: I3bb9a832cd9c9c2b4136cb5ce20d06dbb8f2c837
2016-12-09 17:37:23 +09:00
..
tempest Replace tempest logging module with oslo_log 2016-12-09 17:37:23 +09:00
README.rst Renamed Climate references to Blazar in the docs 2014-06-27 14:34:31 -07:00

This directory contains the files necessary for tempest to cover Blazar project.

To install:

$ TEMPEST_DIR=/path/to/tempest $ BLAZAR_DIR=/path/to/blazar $ cp -R ${BLAZAR_DIR}/contrib/tempest/tempest/* ${TEMPEST_DIR}/tempest/

For example: $ cp -R /opt/stack/blazar/contrib/tempest/tempest/* /opt/stack/tempest/tempest/

To run all the blazar tests, add the following to the tox.ini file located at TEMPEST_DIR:

[testenv:blazar] sitepackages = True commands = bash tools/pretty_tox.sh '(^tempest.(apithirdparty|cli).test_resource_reservation) {posargs}'

Then, inside the TEMPEST_DIR, run: $ tox -eblazar

To debug tests with pdb or ipdb debuggers, run the following: $ python -m testtools.run tempest."modules_to_your_test_file"."test_file_name"."your_test_suite_name"