From 19fcec84d8d7d21e796c7624e521b60d28ee21ed Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 20:45:59 +0200 Subject: Adding upstream version 16.2.11+ds. Signed-off-by: Daniel Baumann --- src/ceph-volume/tox.ini | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/ceph-volume/tox.ini (limited to 'src/ceph-volume/tox.ini') 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 -- cgit v1.2.3