From a1eebb743002a10194d8f7c5448c02a99f1f0fe1 Mon Sep 17 00:00:00 2001 From: dongwenjuan Date: Tue, 18 Apr 2017 19:28:57 +0800 Subject: fix the command of testr Change-Id: Ie85940e7c3a755f6506eb75fa1bae286c4b038ca Signed-off-by: dongwenjuan --- tosca2heat/heat-translator/tox.ini | 4 ++-- tosca2heat/tosca-parser/tox.ini | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'tosca2heat') 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 -- cgit 1.2.3-korg