diff options
author | root <root@mdehaan.rdu.redhat.com> | 2007-09-05 16:31:30 -0400 |
---|---|---|
committer | root <root@mdehaan.rdu.redhat.com> | 2007-09-05 16:31:30 -0400 |
commit | 69cd6adec522e73a52a2c0f3aac70401f92adc9f (patch) | |
tree | 6f22eab2a8848a455fc5c1c6faf13f239ced0eaf /tests | |
parent | 26263db30e0ad51f0cabfcc6f7dde92d04cdcfbb (diff) | |
download | third_party-cobbler-69cd6adec522e73a52a2c0f3aac70401f92adc9f.tar.gz third_party-cobbler-69cd6adec522e73a52a2c0f3aac70401f92adc9f.tar.xz third_party-cobbler-69cd6adec522e73a52a2c0f3aac70401f92adc9f.zip |
Working on pluggable serializers.
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" |