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_stream.py
diff --git
a/tests/bindings/python/bt2/test_stream.py
b/tests/bindings/python/bt2/test_stream.py
index d03c27601a30030be79bb2a824fa3691e1f3304c..8d1ac5a317e78fd9d274be0b5a2276e01e94f1c2 100644
(file)
--- a/
tests/bindings/python/bt2/test_stream.py
+++ b/
tests/bindings/python/bt2/test_stream.py
@@
-89,3
+89,7
@@
class StreamTestCase(unittest.TestCase):
with self.assertRaises(TypeError):
self._tr.create_stream(sc, id='string')
+
+
+if __name__ == '__main__':
+ unittest.main()
This page took
0.02307 seconds
and
4
git commands to generate.