source: python/tests/test_aubio_cut.py @ 799a940

feature/autosinkfeature/constantqfeature/pitchshiftfeature/pydocstringsfeature/timestretch
Last change on this file since 799a940 was 799a940, checked in by Paul Brossier <piem@piem.org>, 3 years ago

python/tests/test_aubio_*.py: add basic tests

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