bt2: add `if __name__ == '__main__'` snippet to all tests
[babeltrace.git] / tests / bindings / python / bt2 / test_field.py
index a0ff8e7639398088326c2b3c621475ede49d2928..7c00b3060e0a20c9b24114db018a70db9d75562a 100644 (file)
@@ -2338,3 +2338,7 @@ class VariantFieldTestCase(unittest.TestCase):
         other_field.selected_option_index = 2
         other_field.value = 14.4245
         self.assertEqual(str(field), str(other_field))
+
+
+if __name__ == '__main__':
+    unittest.main()
This page took 0.022734 seconds and 4 git commands to generate.