source: python/tests/test_aubio_cut.py @ 4c9aa80

feature/cnnfeature/crepefix/ffmpeg5
Last change on this file since 4c9aa80 was fc144a5, checked in by Paul Brossier <piem@piem.org>, 6 years ago

[tests] avoid some imports, add missing main

  • Property mode set to 100755
File size: 342 bytes
RevLine 
[799a940]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__':
[fc144a5]15    from unittest import main
[799a940]16    main()
Note: See TracBrowser for help on using the repository browser.