~ubuntu-branches/ubuntu/saucy/solfege/saucy

« back to all changes in this revision

Viewing changes to solfege/soundcard/tests/__init__.py

  • Committer: Bazaar Package Importer
  • Author(s): Tom Cato Amundsen
  • Date: 2010-03-28 06:34:28 UTC
  • mfrom: (1.1.10 upstream) (2.1.7 sid)
  • Revision ID: james.westby@ubuntu.com-20100328063428-wg2bqvoce2aq4xfb
Tags: 3.15.9-1
* New upstream release.
* Redo packaging. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Solfege - free ear training software
 
2
# Copyright (C) 2007, 2008 Tom Cato Amundsen
 
3
# License is GPL, see file COPYING
 
4
 
 
5
from __future__ import absolute_import
 
6
import unittest
 
7
 
 
8
import glob
 
9
import os.path
 
10
modules = [os.path.splitext(os.path.basename(x))[0] \
 
11
           for x in glob.glob("solfege/soundcard/tests/test_*.py")]
 
12
 
 
13
for m in modules:
 
14
    exec "import solfege.soundcard.tests.%s" % m
 
15
suite = unittest.TestSuite([globals()[m].suite for m in modules])