projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bt2: add `if __name__ == '__main__'` snippet to all tests
[babeltrace.git]
/
tests
/
bindings
/
python
/
bt2
/
test_field.py
diff --git
a/tests/bindings/python/bt2/test_field.py
b/tests/bindings/python/bt2/test_field.py
index a0ff8e7639398088326c2b3c621475ede49d2928..7c00b3060e0a20c9b24114db018a70db9d75562a 100644
(file)
--- a/
tests/bindings/python/bt2/test_field.py
+++ b/
tests/bindings/python/bt2/test_field.py
@@
-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.0246 seconds
and
4
git commands to generate.