summaryrefslogtreecommitdiffstats
path: root/src/ceph-volume/tox.ini
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-21 11:54:28 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-21 11:54:28 +0000
commite6918187568dbd01842d8d1d2c808ce16a894239 (patch)
tree64f88b554b444a49f656b6c656111a145cbbaa28 /src/ceph-volume/tox.ini
parentInitial commit. (diff)
downloadceph-b26c4052f3542036551aa9dec9caa4226e456195.tar.xz
ceph-b26c4052f3542036551aa9dec9caa4226e456195.zip
Adding upstream version 18.2.2.upstream/18.2.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/ceph-volume/tox.ini')
-rw-r--r--src/ceph-volume/tox.ini24
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