![]() |
Parolin 0.7.9 6796
Console (soon DLLs) to do a tar like job
|
Public Member Functions | |
None | __init__ (self, str test_directory, Options options) |
'TestSuite' | __enter__ (self) |
None | __exit__ (self, _exc_type, _exc_value, _traceback) |
TestCase | test_case (self, str test_basename) |
None | __init__ (self, str test_directory, Options options) |
'TestSuite' | __enter__ (self) |
None | __exit__ (self, _exc_type, _exc_value, _traceback) |
TestCase | test_case (self, str test_basename) |
Protected Member Functions | |
None | _remove_scratch_dir (self, str dir) |
None | _setup_once (self) |
None | _teardown_once (self) |
None | _setup (self, str test_basename) |
None | _teardown (self, str test_basename) |
None | _run_script (self, str script, str cwd) |
None | _remove_scratch_dir (self, str dir) |
None | _setup_once (self) |
None | _teardown_once (self) |
None | _setup (self, str test_basename) |
None | _teardown (self, str test_basename) |
None | _run_script (self, str script, str cwd) |
Protected Attributes | |
_opts = options | |
_test_dir = os.path.abspath(test_directory) | |
_scratch_dir = os.path.normpath(os.path.join(self._opts.scratch_dir, rel_test_dir)) | |
Setup & teardown test suite & cases. This class is intended to be used as a context manager. TODO: Make setup/teardown failure emit messages, not throw exceptions.
'TestSuite' __enter__ | ( | self | ) |
'TestSuite' __enter__ | ( | self | ) |
None __exit__ | ( | self, | |
_exc_type, | |||
_exc_value, | |||
_traceback ) |
None __exit__ | ( | self, | |
_exc_type, | |||
_exc_value, | |||
_traceback ) |
|
protected |
Helper to remove a scratch directory with sanity checks
|
protected |
Helper to remove a scratch directory with sanity checks
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Context manager for a test case in the test suite. Pass the basename of the test relative to the :test_directory:.
Context manager for a test case in the test suite. Pass the basename of the test relative to the :test_directory:.
|
protected |
|
protected |
|
protected |