| author | Justin Bronn <jbronn@geodjango.org> |
| Sat Jan 31 15:18:50 2009 -0600 (3 years ago) | |
| branch | trunk |
| changeset 138 | 466bece04a15 |
| parent 1 | 911c7e1d6ffe |
| child 352 | ed67864049e9 |
| permissions | -rw-r--r-- |
| jbronn@1 | 1 |
""" |
| jbronn@1 | 2 |
GEOS Testing module. |
| jbronn@1 | 3 |
""" |
| jbronn@138 | 4 |
from unittest import TestSuite, TextTestRunner |
| jbronn@138 | 5 |
|
| jbronn@138 | 6 |
import test_geos, test_mutability |
| jbronn@138 | 7 |
|
| jbronn@138 | 8 |
test_suites = [test_geos.suite(), |
| jbronn@138 | 9 |
test_mutability.suite(), |
| jbronn@138 | 10 |
] |
| jbronn@138 | 11 |
|
| jbronn@138 | 12 |
def suite(): |
| jbronn@138 | 13 |
s = TestSuite() |
| jbronn@138 | 14 |
map(s.addTest, test_suites) |
| jbronn@138 | 15 |
return s |
| jbronn@138 | 16 |
|
| jbronn@138 | 17 |
def run(verbosity=1): |
| jbronn@138 | 18 |
TextTestRunner(verbosity=verbosity).run(suite()) |