casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables
Classes | Functions | Variables
testwrapper Namespace Reference

Classes

class  Helper
class  UnitTest
class  ExecTest

Functions

def cleanup
 
            attr.rfind('test') != -1 :
            testlist.append(c(attr))

print testlist

def createDir
def locatedata
def searchscript
def getTest
def isaclass

Variables

tuple PYVER
list AIPS_DIR
string DATA_DIR
string SCRIPT_REPOS

Detailed Description

Class to wrap a test to use with unittest framework.

Function Documentation

def testwrapper.cleanup (   self,
  workdir 
)

            attr.rfind('test') != -1 :
            testlist.append(c(attr))

print testlist

Definition at line 186 of file testwrapper.py.

def testwrapper.createDir (   self,
  workdir 
)
Create a working directory

Definition at line 196 of file testwrapper.py.

def testwrapper.getTest (   self,
  testnamek,
  testName,
  scriptdir,
  workdir 
)

Definition at line 268 of file testwrapper.py.

def testwrapper.isaclass (   self,
  myclass,
  input 
)
Check if input equals the class name

Definition at line 277 of file testwrapper.py.

def testwrapper.locatedata (   self,
  datafile,
  datadir 
)

Definition at line 203 of file testwrapper.py.

def testwrapper.searchscript (   self,
  testname,
  scriptdir 
)
Search for the script

Definition at line 235 of file testwrapper.py.


Variable Documentation

Definition at line 16 of file testwrapper.py.

Definition at line 17 of file testwrapper.py.

Definition at line 14 of file testwrapper.py.

Definition at line 19 of file testwrapper.py.