tests import path: put shipped pmb code first

Always test the pmb code from the parent folder of the tests, even if
a stable version of pmbootstrap is installed with pip or pysetup.
This commit is contained in:
Oliver Smith 2018-10-27 16:21:29 +02:00
parent 56d813421f
commit 424ad3f078
27 changed files with 27 additions and 27 deletions

View file

@ -22,7 +22,7 @@ import sys
# Import from parent directory
pmb_src = os.path.realpath(os.path.join(os.path.dirname(__file__) + "/.."))
sys.path.append(pmb_src)
sys.path.insert(0, pmb_src)
import pmb.helpers.repo