﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
2825	Add ability to add extra test suites	ignem@…	Adrian Holovaty	"I have objects outside 'models.py' that have document strings that I want to use in doctests.
The default TEST_RUNNER has no way of adding them to the tests.

One way to fix this is to have a function in each module's 'tests.py' file that returns a test suite that is added to the other tests.
The test runner has to call this function (if it exists) and add the returned suite to the other tests. This would be done in the 'build_suite' function, right after adding doctests in 'tests.py'.

Example of function:
{{{
    def test_suite():
        import extra_module
        suite = unittest.TestSuite()
        suite.addTest(doctest.DocTestSuite(extra_module))
        return suite
}}}
"	enhancement	closed	Testing framework	dev	minor	fixed		gary.wilson@…	Design decision needed	0	0	0	0	0	0
