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_value.py
diff --git
a/tests/bindings/python/bt2/test_value.py
b/tests/bindings/python/bt2/test_value.py
index b8ecfe55e685b72dd474a6e86967f60c9bf3a5ad..5e601e51db1ee5d40643f594df9a9a699c72dc67 100644
(file)
--- a/
tests/bindings/python/bt2/test_value.py
+++ b/
tests/bindings/python/bt2/test_value.py
@@
-1960,3
+1960,7
@@
class MapValueTestCase(_TestCopySimple, unittest.TestCase):
def test_getitem_wrong_key(self):
with self.assertRaises(KeyError):
self._def['kilojoule']
+
+
+if __name__ == '__main__':
+ unittest.main()
This page took
0.024895 seconds
and
4
git commands to generate.