We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1963a71 commit 0bb6499Copy full SHA for 0bb6499
tracetools_test/tracetools_test/case.py
@@ -51,6 +51,8 @@ class TraceTestCase(unittest.TestCase):
51
The assert*() functions are specifically in mixedCase to match the unittest functions.
52
"""
53
54
+ ENV_VAR_DEBUG = 'TRACETOOLS_TEST_DEBUG'
55
+
56
def __init__(
57
self,
58
*args,
@@ -111,7 +113,7 @@ def setUp(self):
111
113
self.assertProcessNamesExist(self._nodes)
112
114
115
def tearDown(self):
- if not os.environ.get('TRACETOOLS_TEST_DEBUG', None):
116
+ if not os.environ.get(self.ENV_VAR_DEBUG, None):
117
cleanup_trace(self._full_path)
118
119
def assertEventsSet( # noqa: N802
0 commit comments