Test discovering logic fixed
Default discovering folder set to magnetodb/tests default tox filter set to magnetodb/tests/unittests Change-Id: Ic1445603eb4fcc476d1b3d2ee72c13307ebaebcc
This commit is contained in:
parent
6f1ea4e2f9
commit
3cd4c85845
|
@ -1,4 +1,4 @@
|
|||
[DEFAULT]
|
||||
test_command=${PYTHON:-python} -m subunit.run discover -t ./ ./magnetodb/tests/unittests $LISTOPT $IDOPTION
|
||||
test_command=${PYTHON:-python} -m subunit.run discover -t ./ ./magnetodb/tests $LISTOPT $IDOPTION
|
||||
test_id_option=--load-list $IDFILE
|
||||
test_list_option=--list
|
||||
|
|
2
tox.ini
2
tox.ini
|
@ -10,7 +10,7 @@ install_command = pip install {opts} {packages}
|
|||
deps = -r{toxinidir}/requirements.txt
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
commands =
|
||||
python setup.py testr --slowest --testr-args='{posargs}'
|
||||
python setup.py testr --slowest --testr-args='{posargs:magnetodb.tests.unittests}'
|
||||
|
||||
[testenv:pep8]
|
||||
commands = flake8
|
||||
|
|
Loading…
Reference in New Issue