summaryrefslogtreecommitdiffstats
path: root/src/ceph-volume/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'src/ceph-volume/tox.ini')
-rw-r--r--src/ceph-volume/tox.ini22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/ceph-volume/tox.ini b/src/ceph-volume/tox.ini
new file mode 100644
index 000000000..2f4ba243f
--- /dev/null
+++ b/src/ceph-volume/tox.ini
@@ -0,0 +1,22 @@
+[tox]
+envlist = py36, py3, py3-flake8
+skip_missing_interpreters = true
+
+[testenv]
+deps=
+ pytest
+ pytest-xdist
+ mock
+ pyfakefs
+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 {posargs:ceph_volume}
+
+[tool:pytest]
+norecursedirs = .* _* virtualenv
+
+[flake8]
+select=F,E9