From: Willem Jan Withagen Date: Fri, 2 Jun 2017 14:53:43 +0000 (+0200) Subject: ceph-disk: use system modules if needed X-Git-Tag: v12.1.0~228^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=91d36b64f3a1000e38aa620cddfdf3fe1866ad85;p=ceph.git 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 --- diff --git a/src/ceph-disk/tox.ini b/src/ceph-disk/tox.ini index f835f409cb12..a2bc483a23b3 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