bt2: add `if __name__ == '__main__'` snippet to all tests
[babeltrace.git] / tests / bindings / python / bt2 / test_component_descriptor.py
index 1dfec54eafb47ebd1c243853e32f71248950cb89..a980d80f2984f8bce4d61da43f831490ce9823ae 100644 (file)
@@ -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.024072 seconds and 4 git commands to generate.