1
##############################################################################
3
# Copyright (c) 2003 Zope Corporation and Contributors.
6
# This software is subject to the provisions of the Zope Public License,
7
# Version 2.0 (ZPL). A copy of the ZPL should accompany this distribution.
8
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
9
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
10
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
11
# FOR A PARTICULAR PURPOSE.
13
##############################################################################
14
"""Sample tests with a layer that can't be torn down
16
$Id: sampletests_ntds.py 33295 2005-07-13 12:02:58Z jim $
20
from zope.testing import doctest
26
setUp = classmethod(setUp)
29
raise NotImplementedError
30
tearDown = classmethod(tearDown)
32
class TestSomething(unittest.TestCase):
36
def test_something(self):
37
import pdb; pdb.set_trace()
39
def test_something2(self):
40
import pdb; pdb.set_trace()
42
def test_something3(self):
43
import pdb; pdb.set_trace()
45
def test_something4(self):
46
import pdb; pdb.set_trace()
48
def test_something5(self):
52
import pdb; pdb.set_trace()
58
... import pdb; pdb.set_trace()
61
def test_set_trace2():
68
suite = unittest.TestSuite()
69
suite.addTest(unittest.makeSuite(TestSomething))
70
d = doctest.DocTestSuite()
76
if __name__ == '__main__':