projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bt2: add `if __name__ == '__main__'` snippet to all tests
[babeltrace.git]
/
tests
/
bindings
/
python
/
bt2
/
test_trace.py
diff --git
a/tests/bindings/python/bt2/test_trace.py
b/tests/bindings/python/bt2/test_trace.py
index 7fa8d8a56a28fc5d6fb46b96f99324400136b977..efda9e64ca7a8bd754c4783bb017d1aef8ec4c68 100644
(file)
--- a/
tests/bindings/python/bt2/test_trace.py
+++ b/
tests/bindings/python/bt2/test_trace.py
@@
-184,3
+184,7
@@
class TraceTestCase(unittest.TestCase):
self.assertTrue(trace_class_destroyed)
self.assertTrue(trace_destroyed)
+
+
+if __name__ == '__main__':
+ unittest.main()
This page took
0.029734 seconds
and
4
git commands to generate.