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