diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/tests.py | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/tests/tests.py b/tests/tests.py index 5368f69..e62eaaf 100644 --- a/tests/tests.py +++ b/tests/tests.py @@ -19,23 +19,25 @@ import subprocess import tempfile import shutil -sys.path.append('../cobbler') -sys.path.append('./cobbler') +#sys.path.append('../cobbler') +#sys.path.append('../cobbler/modules') +#sys.path.append('./cobbler') +#sys.path.append('./cobbler/modules') -import settings -import collection_distros -import collection_profiles -import collection_systems +from cobbler import settings +from cobbler import collection_distros +from cobbler import collection_profiles +from cobbler import collection_systems settings.TESTMODE = True collection_distros.TESTMODE = True collection_profiles.TESTMODE = True collection_systems.TESTMODE = True -import api -import config -import utils -from cexceptions import CobblerException +from cobbler import api +from cobbler import config +from cobbler import utils +from cobbler.cexceptions import CobblerException FAKE_INITRD="initrd-2.6.15-1.2054_FAKE.img" FAKE_INITRD2="initrd-2.5.16-2.2055_FAKE.img" |