forked from Mirror/pmbootstrap
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:
parent
56d813421f
commit
424ad3f078
27 changed files with 27 additions and 27 deletions
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue