From 91d36b64f3a1000e38aa620cddfdf3fe1866ad85 Mon Sep 17 00:00:00 2001 From: Willem Jan Withagen Date: Fri, 2 Jun 2017 16:53:43 +0200 Subject: [PATCH] ceph-disk: use system modules if needed - prettytable usage was introduced in: https://github.com/ceph/ceph/commit/3fa8bb1 It is in the install-deps.sh file to be installed, but it is not per default installed in the testenvironment So allow tox tests to use "external" modules Signed-off-by: Willem Jan Withagen --- src/ceph-disk/tox.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ceph-disk/tox.ini b/src/ceph-disk/tox.ini index f835f409cb1..a2bc483a23b 100644 --- a/src/ceph-disk/tox.ini +++ b/src/ceph-disk/tox.ini @@ -16,6 +16,7 @@ deps = ../ceph-detect-init [testenv:py27] +sitepackages=True passenv = CEPH_ROOT CEPH_BIN CEPH_LIB CEPH_BUILD_VIRTUALENV changedir = {env:CEPH_BUILD_DIR} commands = coverage run --append --source=ceph_disk {envbindir}/py.test -vv {toxinidir}/tests/test_main.py -- 2.47.3