summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordongwenjuan <dong.wenjuan@zte.com.cn>2017-04-18 19:28:57 +0800
committerdongwenjuan <dong.wenjuan@zte.com.cn>2017-04-18 19:28:57 +0800
commita1eebb743002a10194d8f7c5448c02a99f1f0fe1 (patch)
tree4f71a63cc5c025e4a8756ac2fbce69513457e075
parent7d6f6962fb9c5ff6d815241d5d15c86c4c6a501b (diff)
fix the command of testr
Change-Id: Ie85940e7c3a755f6506eb75fa1bae286c4b038ca Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
-rw-r--r--tosca2heat/heat-translator/tox.ini4
-rw-r--r--tosca2heat/tosca-parser/tox.ini4
2 files changed, 4 insertions, 4 deletions
diff --git a/tosca2heat/heat-translator/tox.ini b/tosca2heat/heat-translator/tox.ini
index be57d3e..b1299bf 100644
--- a/tosca2heat/heat-translator/tox.ini
+++ b/tosca2heat/heat-translator/tox.ini
@@ -10,7 +10,7 @@ setenv =
VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/requirements.txt
-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
@@ -19,7 +19,7 @@ commands = flake8
commands = {posargs}
[testenv:cover]
-commands = python setup.py test --coverage --coverage-package-name=translator --testr-args='{posargs}'
+commands = python setup.py testr --coverage --coverage-package-name=translator --testr-args='{posargs}'
[testenv:docs]
commands = python setup.py build_sphinx
diff --git a/tosca2heat/tosca-parser/tox.ini b/tosca2heat/tosca-parser/tox.ini
index 5a3eae8..8fc2a88 100644
--- a/tosca2heat/tosca-parser/tox.ini
+++ b/tosca2heat/tosca-parser/tox.ini
@@ -10,7 +10,7 @@ setenv =
VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/requirements.txt
-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
@@ -19,7 +19,7 @@ commands = flake8
commands = {posargs}
[testenv:cover]
-commands = python setup.py test --coverage --coverage-package-name=toscaparser --testr-args='{posargs}'
+commands = python setup.py testr --coverage --coverage-package-name=toscaparser --testr-args='{posargs}'
[testenv:docs]
commands = python setup.py build_sphinx