|
gstlal 1.13.0
|
Public Member Functions | |
| __init__ (self, Tuple[Dict[str, Dict]] patch_info=DEFAULT_MOCK_PATCHES, dict env_overrides=None, bool with_pipeline=False) | |
| __enter__ (self) | |
| __exit__ (self, exc_type, exc_val, exc_tb) | |
| cache_path (self) | |
| override_env_var (self, str key, str val) | |
| reset_env_var (self, str key) | |
| set_pipeline (self) | |
Public Attributes | |
| tmp_dir = tempfile.TemporaryDirectory() | |
| tmp_path = pathlib.Path(self.tmp_dir.name) | |
| patch_info = patch_info | |
| pipeline = Gst.Pipeline(name=os.path.split(sys.argv[0])[1]) | |
Protected Attributes | |
| list | _patches = [] |
| dict | _env_originals = {} |
| dict | _env_overrides = {} if env_overrides is None else env_overrides |
| _with_pipeline = with_pipeline | |
Context manager for GstLAL tests
Definition at line 63 of file testtools.py.
| python.utilities.testtools.GstLALTestManager.__init__ | ( | self, | |
| Tuple[Dict[str, Dict]] | patch_info = DEFAULT_MOCK_PATCHES, | ||
| dict | env_overrides = None, | ||
| bool | with_pipeline = False ) |
Definition at line 66 of file testtools.py.
| python.utilities.testtools.GstLALTestManager.__enter__ | ( | self | ) |
Enter the GstLAL testing context
Definition at line 75 of file testtools.py.
| python.utilities.testtools.GstLALTestManager.__exit__ | ( | self, | |
| exc_type, | |||
| exc_val, | |||
| exc_tb ) |
Exit GstLAL context
Definition at line 97 of file testtools.py.
| python.utilities.testtools.GstLALTestManager.cache_path | ( | self | ) |
Cache path
Definition at line 113 of file testtools.py.
| python.utilities.testtools.GstLALTestManager.override_env_var | ( | self, | |
| str | key, | ||
| str | val ) |
Definition at line 117 of file testtools.py.
| python.utilities.testtools.GstLALTestManager.reset_env_var | ( | self, | |
| str | key ) |
Definition at line 124 of file testtools.py.
| python.utilities.testtools.GstLALTestManager.set_pipeline | ( | self | ) |
Definition at line 135 of file testtools.py.
|
protected |
Definition at line 71 of file testtools.py.
|
protected |
Definition at line 72 of file testtools.py.
|
protected |
Definition at line 70 of file testtools.py.
|
protected |
Definition at line 73 of file testtools.py.
| python.utilities.testtools.GstLALTestManager.patch_info = patch_info |
Definition at line 69 of file testtools.py.
| python.utilities.testtools.GstLALTestManager.pipeline = Gst.Pipeline(name=os.path.split(sys.argv[0])[1]) |
Definition at line 137 of file testtools.py.
| python.utilities.testtools.GstLALTestManager.tmp_dir = tempfile.TemporaryDirectory() |
Definition at line 67 of file testtools.py.
| python.utilities.testtools.GstLALTestManager.tmp_path = pathlib.Path(self.tmp_dir.name) |
Definition at line 68 of file testtools.py.