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_component_descriptor.py
diff --git
a/tests/bindings/python/bt2/test_component_descriptor.py
b/tests/bindings/python/bt2/test_component_descriptor.py
index 1dfec54eafb47ebd1c243853e32f71248950cb89..a980d80f2984f8bce4d61da43f831490ce9823ae 100644
(file)
--- a/
tests/bindings/python/bt2/test_component_descriptor.py
+++ b/
tests/bindings/python/bt2/test_component_descriptor.py
@@
-66,3
+66,7
@@
class ComponentDescriptorTestCase(unittest.TestCase):
def test_attr_obj(self):
self.assertIs(self._comp_descr.obj, self._obj)
+
+
+if __name__ == '__main__':
+ unittest.main()
This page took
0.023865 seconds
and
4
git commands to generate.