Skip to content

Commit

Permalink
ceph-disk: use system modules if needed
Browse files Browse the repository at this point in the history
 - prettytable usage was introduced in:
	ceph@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 <[email protected]>
  • Loading branch information
wjwithagen committed Jun 8, 2017
1 parent a88896a commit 91d36b6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ceph-disk/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 91d36b6

Please sign in to comment.