author | Tero Marttila <terom@fixme.fi> |
Mon, 16 Feb 2009 22:40:35 +0200 | |
changeset 86 | 6ff1140586d6 |
parent 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 |
86
6ff1140586d6
some tests for wsgi.Application
Tero Marttila <terom@fixme.fi>
parents:
79
diff
changeset
|
6 |
import test_http, test_treeparse, test_urltree, test_wsgi |
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, |
79 | 16 |
test_urltree, |
86
6ff1140586d6
some tests for wsgi.Application
Tero Marttila <terom@fixme.fi>
parents:
79
diff
changeset
|
17 |
test_wsgi, |
75
f94c06cfcc0e
separate tests/ package, although the import paths are still wonky
Tero Marttila <terom@fixme.fi>
parents:
diff
changeset
|
18 |
)) |
f94c06cfcc0e
separate tests/ package, although the import paths are still wonky
Tero Marttila <terom@fixme.fi>
parents:
diff
changeset
|
19 |