From 69cd6adec522e73a52a2c0f3aac70401f92adc9f Mon Sep 17 00:00:00 2001 From: root Date: Wed, 5 Sep 2007 16:31:30 -0400 Subject: Working on pluggable serializers. --- tests/tests.py | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) (limited to 'tests/tests.py') 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" -- cgit