1
# Copyright (c) 2006 Twisted Matrix Laboratories. See LICENSE for details
4
Mock test module that contains a C{test_suite} method. L{runner.TestLoader}
5
should load the tests from the C{test_suite}, not from the C{Foo} C{TestCase}.
7
See {twisted.trial.test.test_loader.LoaderTest.test_loadModuleWith_test_suite}.
11
from twisted.trial import unittest, runner
13
class Foo(unittest.TestCase):
19
ts = runner.TestSuite()
20
ts.name = "MyCustomSuite"