change directory structure for unit tests
Unit tests are added in same directory with integration tests. Change-Id: I204dec8495276df37a8c536638a6852b604db671 Closes-Bug: #1606009
This commit is contained in:
parent
6c50cc318c
commit
45fa458209
6
tox.ini
6
tox.ini
|
@ -38,7 +38,7 @@ commands = {posargs}
|
||||||
[testenv:py27]
|
[testenv:py27]
|
||||||
basepython = python2.7
|
basepython = python2.7
|
||||||
setenv =
|
setenv =
|
||||||
OS_TEST_PATH = ./tests/unit
|
OS_TEST_PATH = ./freezer/tests/unit
|
||||||
commands =
|
commands =
|
||||||
find . -type f -name "*.pyc" -delete
|
find . -type f -name "*.pyc" -delete
|
||||||
python setup.py testr --coverage --testr-args="{posargs}"
|
python setup.py testr --coverage --testr-args="{posargs}"
|
||||||
|
@ -49,7 +49,7 @@ commands =
|
||||||
[testenv:py34]
|
[testenv:py34]
|
||||||
basepython = python3.4
|
basepython = python3.4
|
||||||
setenv =
|
setenv =
|
||||||
OS_TEST_PATH = ./tests/unit
|
OS_TEST_PATH = ./freezer/tests/unit
|
||||||
commands =
|
commands =
|
||||||
find . -type f -name "*.pyc" -delete
|
find . -type f -name "*.pyc" -delete
|
||||||
python setup.py testr --coverage --testr-args="{posargs}"
|
python setup.py testr --coverage --testr-args="{posargs}"
|
||||||
|
@ -70,4 +70,4 @@ commands = pylint --rcfile .pylintrc freezer
|
||||||
[flake8]
|
[flake8]
|
||||||
ignore = H405,H404,H403,H401
|
ignore = H405,H404,H403,H401
|
||||||
show-source = True
|
show-source = True
|
||||||
exclude = .venv,.tox,dist,doc,test,*egg,tests
|
exclude = .venv,.tox,dist,doc,test,*egg,tests,freezer/tests/unit
|
||||||
|
|
Loading…
Reference in New Issue