bt2: add `if __name__ == '__main__'` snippet to all tests
[babeltrace.git] / tests / bindings / python / bt2 / test_stream.py
index d03c27601a30030be79bb2a824fa3691e1f3304c..8d1ac5a317e78fd9d274be0b5a2276e01e94f1c2 100644 (file)
@@ -89,3 +89,7 @@ class StreamTestCase(unittest.TestCase):
 
         with self.assertRaises(TypeError):
             self._tr.create_stream(sc, id='string')
+
+
+if __name__ == '__main__':
+    unittest.main()
This page took 0.030085 seconds and 4 git commands to generate.