diff options
Diffstat (limited to 'src/ceph-volume/tox.ini')
-rw-r--r-- | src/ceph-volume/tox.ini | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/ceph-volume/tox.ini b/src/ceph-volume/tox.ini new file mode 100644 index 000000000..696d6dcc8 --- /dev/null +++ b/src/ceph-volume/tox.ini @@ -0,0 +1,24 @@ +[tox] +envlist = py3, py3-flake8 +skip_missing_interpreters = true + +[testenv] +deps= + pytest + pytest-xdist + mock + pyfakefs +allowlist_externals= + ./tox_install_command.sh +install_command=./tox_install_command.sh {opts} {packages} +commands=py.test --numprocesses=auto -vv {posargs:ceph_volume/tests} --ignore=ceph_volume/tests/functional + +[testenv:py3-flake8] +deps=flake8 +commands=flake8 --select F,E9,W291 {posargs:ceph_volume} + +[tool:pytest] +norecursedirs = .* _* virtualenv + +[flake8] +select=F,E9 |