Mercurial > hg > auditok
diff tests/test_util.py @ 337:9f17aa9a4018
Call unittest.main() in all test files
author | Amine Sehili <amine.sehili@gmail.com> |
---|---|
date | Sun, 27 Oct 2019 12:09:36 +0100 |
parents | 903b5e1e8af9 |
children | 5732edbfae30 |
line wrap: on
line diff
--- a/tests/test_util.py Sat Oct 26 18:23:52 2019 +0100 +++ b/tests/test_util.py Sun Oct 27 12:09:36 2019 +0100 @@ -1,3 +1,4 @@ +import unittest from unittest import TestCase import math from array import array @@ -98,3 +99,7 @@ self.assertTrue(validator.is_valid(data)) else: self.assertFalse(validator.is_valid(data)) + + +if __name__ == "__main__": + unittest.main()