* subversion/bindings/swig/python/libsvn_swig_py/swigutil_py.c
[svn.git] / subversion / bindings / swig / python / tests / trac / test.py
blobfee0440bffa12bdc1abfdb32add7c6e170102822
1 #!/usr/bin/env python
2 # -*- coding: iso8859-1 -*-
4 # Copyright (C) 2003, 2004, 2005 Edgewall Software
5 # Copyright (C) 2003, 2004, 2005 Jonas Borgström <jonas@edgewall.com>
6 # Copyright (C) 2005 Christopher Lenz <cmlenz@gmx.de>
8 # This software is licensed as described in the file
9 # LICENSE_FOR_PYTHON_BINDINGS, which you should have received as part
10 # of this distribution. The terms are also available at
11 # < http://subversion.tigris.org/license-for-python-bindings.html >.
12 # If newer versions of this license are posted there, you may use a
13 # newer version instead, at your option.
15 # Author: Jonas Borgström <jonas@edgewall.com>
16 # Christopher Lenz <cmlenz@gmx.de>
18 import unittest
21 class TestSetup(unittest.TestSuite):
22 """
23 Test suite decorator that allows a fixture to be setup for a complete
24 suite of test cases.
25 """
26 def setUp(self):
27 pass
29 def tearDown(self):
30 pass
32 def __call__(self, result):
33 self.setUp()
34 unittest.TestSuite.__call__(self, result)
35 self.tearDown()
36 return result