bt2: add `if __name__ == '__main__'` snippet to all tests
[babeltrace.git] / tests / bindings / python / bt2 / test_event_class.py
index 131907107ec2de8ccf785c77a5a56ca37a1e8448..f2cf52cb47afba28e273bd73de3a975297ce1eb0 100644 (file)
@@ -188,3 +188,7 @@ class EventClassTestCase(unittest.TestCase):
     def test_const_stream_class(self):
         ec_const = _create_const_event_class(self._tc, self._stream_class)
         self.assertIs(type(ec_const.stream_class), bt2_stream_class._StreamClassConst)
+
+
+if __name__ == '__main__':
+    unittest.main()
This page took 0.023449 seconds and 4 git commands to generate.