]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph-disk: use system modules if needed 15433/head
authorWillem Jan Withagen <wjw@digiware.nl>
Fri, 2 Jun 2017 14:53:43 +0000 (16:53 +0200)
committerWillem Jan Withagen <wjw@digiware.nl>
Thu, 8 Jun 2017 09:33:04 +0000 (11:33 +0200)
 - 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 <wjw@digiware.nl>
src/ceph-disk/tox.ini

index f835f409cb12669228dbe23eb246cb0edd6c4185..a2bc483a23b32d6a1c989beef34be1a71402a6d8 100644 (file)
@@ -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