Classes | |
class | Helper |
class | UnitTest |
class | ExecTest |
Functions | |
def | cleanup |
attr.rfind('test') != -1 : testlist.append(c(attr)) | |
def | createDir |
def | locatedata |
def | searchscript |
def | getTest |
def | isaclass |
Variables | |
tuple | PYVER |
list | AIPS_DIR |
string | DATA_DIR |
string | SCRIPT_REPOS |
Class to wrap a test to use with unittest framework.
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.
list testwrapper.AIPS_DIR |
Definition at line 16 of file testwrapper.py.
string testwrapper.DATA_DIR |
Definition at line 17 of file testwrapper.py.
tuple testwrapper.PYVER |
Definition at line 14 of file testwrapper.py.
string testwrapper.SCRIPT_REPOS |
Definition at line 19 of file testwrapper.py.