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_clock_class.py
diff --git
a/tests/bindings/python/bt2/test_clock_class.py
b/tests/bindings/python/bt2/test_clock_class.py
index f630c3371df9e412c6a561daae9359ce58cd493d..b9d25e54b0f970e1edb10172c6ffd8b0b73d6c53 100644
(file)
--- a/
tests/bindings/python/bt2/test_clock_class.py
+++ b/
tests/bindings/python/bt2/test_clock_class.py
@@
-326,3
+326,7
@@
class ClockSnapshotTestCase(unittest.TestCase):
self.assertTrue(self._msg.default_clock_snapshot <= 123)
self.assertFalse(self._msg.default_clock_snapshot <= 100)
+
+
+if __name__ == '__main__':
+ unittest.main()
This page took
0.023782 seconds
and
4
git commands to generate.