[go: up one dir, main page]

File: __init__.py

package info (click to toggle)
solfege 3.10.3-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 12,408 kB
  • ctags: 4,270
  • sloc: python: 22,161; xml: 7,536; ansic: 4,442; makefile: 685; sh: 308
file content (15 lines) | stat: -rw-r--r-- 470 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Solfege - free ear training software
# Copyright (C) 2007, 2008 Tom Cato Amundsen
# License is GPL, see file COPYING

import unittest

import glob
import os.path
# We have to filter out the tests in test_cfg because it changes
modules = [os.path.splitext(os.path.basename(x))[0] \
           for x in glob.glob("src/tests/test_*.py") if 'test_cfg' not in x]

for m in modules:
    exec "import %s" % m
suite = unittest.TestSuite([globals()[m].suite for m in modules])