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_class.py
diff --git
a/tests/bindings/python/bt2/test_trace_class.py
b/tests/bindings/python/bt2/test_trace_class.py
index 69397c633d08cd414723c268631a351d8c162329..2acb7fbe54509ca58db0d5cdc78cb1d539d50bce 100644
(file)
--- a/
tests/bindings/python/bt2/test_trace_class.py
+++ b/
tests/bindings/python/bt2/test_trace_class.py
@@
-188,3
+188,7
@@
class TraceClassTestCase(unittest.TestCase):
del trace_class
self.assertTrue(trace_class_destroyed)
+
+
+if __name__ == '__main__':
+ unittest.main()
This page took
0.023631 seconds
and
4
git commands to generate.