Hook up doctests so they are discoverable via trial:

trial terminatorlib
This commit is contained in:
Elliot Murphy 2010-01-04 23:47:51 -05:00
parent 4ed920d625
commit 7beb3bf424
2 changed files with 13 additions and 0 deletions

View File

View File

@ -0,0 +1,13 @@
"""Load up the tests."""
from unittest import TestSuite
from doctest import DocTestSuite, ELLIPSIS
def test_suite():
suite = TestSuite()
for name in (
'config',
'plugin',
'borg',
):
suite.addTest(DocTestSuite('terminatorlib.' + name))
return suite