Permalink
Browse files

Low: cts: Get CTS working from the source directory

  • Loading branch information...
beekhof committed Nov 22, 2011
1 parent 5397294 commit 7760ff1ed3fa2e383a6386dd3e87a443002e1234
Showing with 10 additions and 10 deletions.
  1. +1 −1 cts/CM_lha.py
  2. +8 −8 cts/CTSlab.py
  3. +1 −1 cts/CTStests.py
View
@@ -26,7 +26,7 @@
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
import os, sys, warnings
-from cts import CTS
+import CTS
from CTSvars import *
from CTS import *
from CIB import *
View
@@ -38,17 +38,17 @@
from CTSscenarios import *
except ImportError:
- sys.stderr.write("abort: couldn't find cts libraries in [%s]\n" %
- ' '.join(sys.path))
+ sys.stderr.write("abort: couldn't find cts libraries in [\n\t%s\n]\n" %
+ '\n\t'.join(sys.path))
sys.stderr.write("(check your install and PYTHONPATH)\n")
# Now do it again to get more details
- from cts.CTSvars import *
- from cts.CM_ais import *
- from cts.CM_lha import crm_lha
- from cts.CTSaudits import AuditList
- from cts.CTStests import TestList
- from cts.CTSscenarios import *
+ from CTSvars import *
+ from CM_ais import *
+ from CM_lha import crm_lha
+ from CTSaudits import AuditList
+ from CTStests import TestList
+ from CTSscenarios import *
sys.exit(-1)
cm = None
View
@@ -40,7 +40,7 @@
import time, os, re, types, string, tempfile, sys
from stat import *
-from cts import CTS
+import CTS
from CTSaudits import *
AllTestClasses = [ ]

0 comments on commit 7760ff1

Please sign in to comment.