diff --git a/.stestr.conf b/.stestr.conf index 7564a2b..8b05d58 100644 --- a/.stestr.conf +++ b/.stestr.conf @@ -1,3 +1,3 @@ [DEFAULT] -test_path=${OS_TEST_PATH:-./novajoin/tests} +test_path=${OS_TEST_PATH:-./novajoin/tests/unit} top_dir=./ diff --git a/tox.ini b/tox.ini index cd4bb1d..6c58567 100644 --- a/tox.ini +++ b/tox.ini @@ -67,3 +67,12 @@ commands = sphinx-build -W -b html doc/source doc/build/html sitepackages = False envdir = {toxworkdir}/pep8 commands = oslo-config-generator --config-file=files/novajoin-config-generator.conf + +[testenv:functional] +basepython = python3 +deps = -r{toxinidir}/test-requirements.txt +setenv = + OS_TEST_PATH={toxinidir}/novajoin/tests/functional +commands = + /usr/bin/find . -type f -name "*.py[c|o]" -delete + stestr run --slowest {posargs}