Skip to content

Commit

Permalink
Low: cts: Get CTS working from the source directory
Browse files Browse the repository at this point in the history
  • Loading branch information
beekhof committed Nov 22, 2011
1 parent 5397294 commit 7760ff1
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion cts/CM_lha.py
Expand Up @@ -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 *
Expand Down
16 changes: 8 additions & 8 deletions cts/CTSlab.py
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion cts/CTStests.py
Expand Up @@ -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 = [ ]
Expand Down

0 comments on commit 7760ff1

Please sign in to comment.