Ausgabe der neuen DB Einträge
This commit is contained in:
parent
bad48e1627
commit
cfbbb9ee3d
2399 changed files with 843193 additions and 43 deletions
|
|
@ -0,0 +1,21 @@
|
|||
# Copyright (c) 2006 Twisted Matrix Laboratories. See LICENSE for details
|
||||
|
||||
"""
|
||||
Mock test module that contains a C{test_suite} method. L{runner.TestLoader}
|
||||
should load the tests from the C{test_suite}, not from the C{Foo} C{TestCase}.
|
||||
|
||||
See {twisted.trial.test.test_loader.LoaderTest.test_loadModuleWith_test_suite}.
|
||||
"""
|
||||
|
||||
|
||||
from twisted.trial import unittest, runner
|
||||
|
||||
class Foo(unittest.SynchronousTestCase):
|
||||
def test_foo(self):
|
||||
pass
|
||||
|
||||
|
||||
def test_suite():
|
||||
ts = runner.TestSuite()
|
||||
ts.name = "MyCustomSuite"
|
||||
return ts
|
||||
Loading…
Add table
Add a link
Reference in a new issue