Fixed tests and doc build

* switch to testr instead of test for running test
* remove reference of contributing.rst

Change-Id: Ic8f81d2f031550f5b479973072ce44d2e5ffa342
changes/93/511193/1
Chandan Kumar 6 years ago
parent 305bf0bb19
commit 5aadb968ca
  1. 6
      config_tempest/tests/test_config_tempest.py
  2. 1
      doc/source/contributing.rst
  3. 4
      tox.ini

@ -13,13 +13,13 @@
# under the License.
"""
test_tempest_config
test_config_tempest
----------------------------------
Tests for `tempest_config` module.
Tests for `config_tempest` module.
"""
from tempest_config.tests import base
from config_tempest.tests import base
class TestTempest_config(base.TestCase):

@ -1,4 +1,3 @@
============
Contributing
============
.. include:: ../../CONTRIBUTING.rst

@ -10,7 +10,7 @@ setenv =
VIRTUAL_ENV={envdir}
PYTHONWARNINGS=default::DeprecationWarning
deps = -r{toxinidir}/test-requirements.txt
commands = python setup.py test --slowest --testr-args='{posargs}'
commands = python setup.py testr --slowest --testr-args='{posargs}'
[testenv:pep8]
commands = flake8 {posargs}
@ -19,7 +19,7 @@ commands = flake8 {posargs}
commands = {posargs}
[testenv:cover]
commands = python setup.py test --coverage --testr-args='{posargs}'
commands = python setup.py testr --coverage --testr-args='{posargs}'
[testenv:docs]
commands = python setup.py build_sphinx

Loading…
Cancel
Save