Mercurial > hg > auditok
diff tests/test_io.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 | 323d59b404a2 |
line wrap: on
line diff
--- a/tests/test_io.py Sat Oct 26 18:23:52 2019 +0100 +++ b/tests/test_io.py Sun Oct 27 12:09:36 2019 +0100 @@ -4,6 +4,7 @@ from array import array from tempfile import NamedTemporaryFile, TemporaryDirectory import filecmp +import unittest from unittest import TestCase from unittest.mock import patch, Mock from genty import genty, genty_dataset @@ -439,3 +440,7 @@ kwargs.update(extra_args) audio_source = get_audio_source(input, **kwargs) self.assertIsInstance(audio_source, expected_type) + + +if __name__ == "__main__": + unittest.main()