diff options
author | Michael DeHaan <mdehaan@redhat.com> | 2007-10-17 18:11:51 -0400 |
---|---|---|
committer | Michael DeHaan <mdehaan@redhat.com> | 2007-10-17 18:11:51 -0400 |
commit | 4a7d0c46c7dd4ab46a4850bd462729d1ea6be497 (patch) | |
tree | 918f0f0b66de6cda083d8dd3d888fd7589c24cba /tests | |
parent | 940a0bbbe44db52c06514423823f865a6c579e3a (diff) | |
download | third_party-cobbler-4a7d0c46c7dd4ab46a4850bd462729d1ea6be497.tar.gz third_party-cobbler-4a7d0c46c7dd4ab46a4850bd462729d1ea6be497.tar.xz third_party-cobbler-4a7d0c46c7dd4ab46a4850bd462729d1ea6be497.zip |
Various changes to allow for increased performance in the WebUI and in saving state, plus
a fix to import that keeps from creating extra yum repo entries for various distros.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/tests.py | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/tests/tests.py b/tests/tests.py index d92905a..4fe7a5d 100644 --- a/tests/tests.py +++ b/tests/tests.py @@ -19,20 +19,18 @@ import subprocess import tempfile import shutil +from cobbler.cexceptions import * + 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 - from cobbler import api + from cobbler import config from cobbler import utils -from cobbler.cexceptions import CobblerException +utils.TEST_MODE = True FAKE_INITRD="initrd-2.6.15-1.2054_FAKE.img" FAKE_INITRD2="initrd-2.5.16-2.2055_FAKE.img" |