Fixed tests and doc build
* switch to testr instead of test for running test * remove reference of contributing.rst Change-Id: Ic8f81d2f031550f5b479973072ce44d2e5ffa342
This commit is contained in:
parent
305bf0bb19
commit
5aadb968ca
@ -13,13 +13,13 @@
|
|||||||
# under the License.
|
# 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):
|
class TestTempest_config(base.TestCase):
|
@ -1,4 +1,3 @@
|
|||||||
============
|
============
|
||||||
Contributing
|
Contributing
|
||||||
============
|
============
|
||||||
.. include:: ../../CONTRIBUTING.rst
|
|
||||||
|
4
tox.ini
4
tox.ini
@ -10,7 +10,7 @@ setenv =
|
|||||||
VIRTUAL_ENV={envdir}
|
VIRTUAL_ENV={envdir}
|
||||||
PYTHONWARNINGS=default::DeprecationWarning
|
PYTHONWARNINGS=default::DeprecationWarning
|
||||||
deps = -r{toxinidir}/test-requirements.txt
|
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]
|
[testenv:pep8]
|
||||||
commands = flake8 {posargs}
|
commands = flake8 {posargs}
|
||||||
@ -19,7 +19,7 @@ commands = flake8 {posargs}
|
|||||||
commands = {posargs}
|
commands = {posargs}
|
||||||
|
|
||||||
[testenv:cover]
|
[testenv:cover]
|
||||||
commands = python setup.py test --coverage --testr-args='{posargs}'
|
commands = python setup.py testr --coverage --testr-args='{posargs}'
|
||||||
|
|
||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
commands = python setup.py build_sphinx
|
commands = python setup.py build_sphinx
|
||||||
|
Loading…
x
Reference in New Issue
Block a user