bt2: add `if __name__ == '__main__'` snippet to all tests
[babeltrace.git] / tests / bindings / python / bt2 / test_component.py
index 5a4d026d3030eb40e2aeee3f1aaa8c3ea6947424..2a3856b98063e8e15c2b34a2b650d72a42c72ea6 100644 (file)
@@ -142,3 +142,7 @@ class GenericComponentTestCase(unittest.TestCase):
         comp = self._create_comp(MySink)
         self.assertIsInstance(comp.addr, int)
         self.assertNotEqual(comp.addr, 0)
+
+
+if __name__ == '__main__':
+    unittest.main()
This page took 0.02319 seconds and 4 git commands to generate.