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_plugin.py
diff --git
a/tests/bindings/python/bt2/test_plugin.py
b/tests/bindings/python/bt2/test_plugin.py
index 9b744cf64bf71e6e35e523f5b6a0edbe69a8d81c..7be8b480cb3c54cb3c156f3c0171c20049c9ead1 100644
(file)
--- a/
tests/bindings/python/bt2/test_plugin.py
+++ b/
tests/bindings/python/bt2/test_plugin.py
@@
-139,3
+139,7
@@
class PluginTestCase(unittest.TestCase):
def test_sink_comp_classes_len(self):
self.assertEqual(len(self._plugin.sink_component_classes), 1)
+
+
+if __name__ == '__main__':
+ unittest.main()
This page took
0.024141 seconds
and
4
git commands to generate.