source: python/tests/test_aubio_cut.py @ c1ba75b

feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/timestretchfix/ffmpeg5
Last change on this file since c1ba75b 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
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.