bt2: add `if __name__ == '__main__'` snippet to all tests
[babeltrace.git] / tests / bindings / python / bt2 / test_graph.py
index 2ad2ac1f4395b0c8569910d12839558c34eac97a..d304169e1b7ab6843ac849b2aeec6de43a16e1c6 100644 (file)
@@ -660,3 +660,7 @@ class GraphTestCase(unittest.TestCase):
 
         with self.assertRaises(bt2._Error):
             graph.connect_ports(up.output_ports['out'], down.input_ports['in'])
+
+
+if __name__ == '__main__':
+    unittest.main()
This page took 0.022981 seconds and 4 git commands to generate.