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:
Dmitriy Ukhlov 2014-03-05 22:46:53 +02:00
parent 6f1ea4e2f9
commit 3cd4c85845
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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