blazar/contrib/tempest
Hiroaki Kobayashi 1855aa5bd6 Copy Tempest scenario base classes into blazar tree
The QA team will refactor scenario tests in Pike. They asked all
projects which use tempest.scenario.manager to hold a copy of the file
in a projects tree[1].

This patch copy the file into blazar tree.

Note: We should migrate to consume Tempest stable interfaces and remove
the file (contrib/tempest/tempest/scenario/manager_freeze.py) in the
future.

[1] http://lists.openstack.org/pipermail/openstack-dev/2017-February/112938.html

Change-Id: I66f3652ef6322c89f418ca91b321ff766514e099
2017-03-15 11:18:16 +09:00
..
tempest Copy Tempest scenario base classes into blazar tree 2017-03-15 11:18:16 +09:00
README.rst Follow latest Tempest framework 2017-02-09 17:40:40 +09: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.*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"