Changeset 647a2d8


Ignore:
Timestamp:
Oct 30, 2007, 3:28:08 AM (16 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
Children:
82c588a
Parents:
e34b010
Message:

load all tests from python test directory, add pitchdetection test

Location:
python/test
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • python/test/all_tests.py

    re34b010 r647a2d8  
    99import unittest
    1010
    11 modules_to_test = ['aubiomodule', 'fvec', 'cvec']
     11from glob import glob
     12modules_to_test = [i.split('.')[0] for i in glob('*.py')]
    1213
    1314if __name__ == '__main__':
    14   for module in modules_to_test: exec('from %s import *' % module)
     15  for module in modules_to_test:
     16    if module != 'all_tests': # (not actually needed)
     17      exec('from %s import *' % module)
    1518  unittest.main()
Note: See TracChangeset for help on using the changeset viewer.