source: python/tests/test_aubio_cut.py

Last change on this file was fc144a5, checked in by Paul Brossier <piem@piem.org>, 5 years ago

[tests] avoid some imports, add missing main

  • Property mode set to 100755
File size: 342 bytes
Line 
1#! /usr/bin/env python
2
3import aubio.cut
4from numpy.testing import TestCase
5
6class aubio_cut(TestCase):
7
8    def setUp(self):
9        self.a_parser = aubio.cut.aubio_cut_parser()
10
11    def test_default_creation(self):
12        assert self.a_parser.parse_args(['-v']).verbose
13
14if __name__ == '__main__':
15    from unittest import main
16    main()
Note: See TracBrowser for help on using the repository browser.