author | Tero Marttila <terom@fixme.fi> |
Mon, 16 Feb 2009 19:08:17 +0200 | |
changeset 78 | a46d2fc07951 |
parent 77 | bef7196f7682 |
child 79 | 747554808944 |
permissions | -rw-r--r-- |
75
f94c06cfcc0e
separate tests/ package, although the import paths are still wonky
Tero Marttila <terom@fixme.fi>
parents:
diff
changeset
|
1 |
""" |
f94c06cfcc0e
separate tests/ package, although the import paths are still wonky
Tero Marttila <terom@fixme.fi>
parents:
diff
changeset
|
2 |
Our collection of unittest's for the various modules |
f94c06cfcc0e
separate tests/ package, although the import paths are still wonky
Tero Marttila <terom@fixme.fi>
parents:
diff
changeset
|
3 |
""" |
f94c06cfcc0e
separate tests/ package, although the import paths are still wonky
Tero Marttila <terom@fixme.fi>
parents:
diff
changeset
|
4 |
|
f94c06cfcc0e
separate tests/ package, although the import paths are still wonky
Tero Marttila <terom@fixme.fi>
parents:
diff
changeset
|
5 |
import unittest |
77
bef7196f7682
add tree_parse test and fix treeparse to handle other than filesystem paths
Tero Marttila <terom@fixme.fi>
parents:
75
diff
changeset
|
6 |
import test_http, test_treeparse |
75
f94c06cfcc0e
separate tests/ package, although the import paths are still wonky
Tero Marttila <terom@fixme.fi>
parents:
diff
changeset
|
7 |
|
f94c06cfcc0e
separate tests/ package, although the import paths are still wonky
Tero Marttila <terom@fixme.fi>
parents:
diff
changeset
|
8 |
def all_tests () : |
f94c06cfcc0e
separate tests/ package, although the import paths are still wonky
Tero Marttila <terom@fixme.fi>
parents:
diff
changeset
|
9 |
""" |
f94c06cfcc0e
separate tests/ package, although the import paths are still wonky
Tero Marttila <terom@fixme.fi>
parents:
diff
changeset
|
10 |
Return a TestSuite with all test cases loaded |
f94c06cfcc0e
separate tests/ package, although the import paths are still wonky
Tero Marttila <terom@fixme.fi>
parents:
diff
changeset
|
11 |
""" |
f94c06cfcc0e
separate tests/ package, although the import paths are still wonky
Tero Marttila <terom@fixme.fi>
parents:
diff
changeset
|
12 |
|
f94c06cfcc0e
separate tests/ package, although the import paths are still wonky
Tero Marttila <terom@fixme.fi>
parents:
diff
changeset
|
13 |
return unittest.TestSuite(unittest.defaultTestLoader.loadTestsFromModule(module) for module in ( |
f94c06cfcc0e
separate tests/ package, although the import paths are still wonky
Tero Marttila <terom@fixme.fi>
parents:
diff
changeset
|
14 |
test_http, |
77
bef7196f7682
add tree_parse test and fix treeparse to handle other than filesystem paths
Tero Marttila <terom@fixme.fi>
parents:
75
diff
changeset
|
15 |
test_treeparse, |
75
f94c06cfcc0e
separate tests/ package, although the import paths are still wonky
Tero Marttila <terom@fixme.fi>
parents:
diff
changeset
|
16 |
)) |
f94c06cfcc0e
separate tests/ package, although the import paths are still wonky
Tero Marttila <terom@fixme.fi>
parents:
diff
changeset
|
17 |