bt2: add `if __name__ == '__main__'` snippet to all tests
[babeltrace.git] / tests / bindings / python / bt2 / test_trace.py
index 7fa8d8a56a28fc5d6fb46b96f99324400136b977..efda9e64ca7a8bd754c4783bb017d1aef8ec4c68 100644 (file)
@@ -184,3 +184,7 @@ class TraceTestCase(unittest.TestCase):
 
         self.assertTrue(trace_class_destroyed)
         self.assertTrue(trace_destroyed)
+
+
+if __name__ == '__main__':
+    unittest.main()
This page took 0.022806 seconds and 4 git commands to generate.