From 4a7d0c46c7dd4ab46a4850bd462729d1ea6be497 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Wed, 17 Oct 2007 18:11:51 -0400 Subject: 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. --- tests/tests.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'tests/tests.py') 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" -- cgit