ctools
2.0.0
|
Public Member Functions | |
def | __init__ |
def | set |
Private Member Functions | |
def | _test_cmd |
def | _test_python |
def | _test_pickeling |
def | _check_result |
Test class for xxx script This test class makes unit tests for the xxx script by using it from the command line and from Python.
Definition at line 30 of file cscript_test.py.
def cscript_test.Test.__init__ | ( | self | ) |
Constructor
Definition at line 39 of file cscript_test.py.
|
private |
Check content of script Parameters ---------- script : `~cscripts.xxx` xxx instance
Definition at line 145 of file cscript_test.py.
Referenced by ctool_test.Test._test_python(), and cscript_test.Test._test_python().
|
private |
Test xxx on the command line
Definition at line 66 of file cscript_test.py.
Referenced by cscript_test.Test.set(), and ctool_test.Test.set().
|
private |
Test xxx pickeling
Definition at line 119 of file cscript_test.py.
Referenced by cscript_test.Test.set().
|
private |
Test xxx from Python
Definition at line 87 of file cscript_test.py.
References cscript_test.Test._check_result().
Referenced by cscript_test.Test.set(), and ctool_test.Test.set().
def cscript_test.Test.set | ( | self | ) |
Set all test functions
Definition at line 50 of file cscript_test.py.
References cscript_test.Test._test_cmd(), cscript_test.Test._test_pickeling(), and cscript_test.Test._test_python().