Rev 2281: Make sure bzr test initialization gets run. in http://people.samba.org/bzr/jelmer/bzr-svn/0.5

Jelmer Vernooij jelmer at samba.org
Thu Jan 8 16:09:08 GMT 2009


At http://people.samba.org/bzr/jelmer/bzr-svn/0.5

------------------------------------------------------------
revno: 2281
revision-id: jelmer at samba.org-20090108160906-0ybvueehwkybr69a
parent: jelmer at samba.org-20090105012904-cobl9qyllxhp1i8g
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: 0.5
timestamp: Thu 2009-01-08 17:09:06 +0100
message:
  Make sure bzr test initialization gets run.
modified:
  tests/__init__.py              __init__.py-20060508151940-e9f4d914801a2535
=== modified file 'tests/__init__.py'
--- a/tests/__init__.py	2008-11-27 00:28:12 +0000
+++ b/tests/__init__.py	2009-01-08 16:09:06 +0000
@@ -30,15 +30,17 @@
 
 import subvertpy.tests
 
-class SubversionTestCase(subvertpy.tests.SubversionTestCase):
+class SubversionTestCase(subvertpy.tests.SubversionTestCase,TestCaseInTempDir):
 
     def setUp(self):
-        super(SubversionTestCase, self).setUp()
+        subvertpy.tests.SubversionTestCase.setUp(self)
+        subvertpy.tests.SubversionTestCase.tearDown(self)
+        TestCaseInTempDir.setUp(self)
         self._old_connect_cachefile = cache.connect_cachefile
         cache.connect_cachefile = lambda path: cache.sqlite3.connect(":memory:")
 
     def tearDown(self):
-        super(SubversionTestCase, self).tearDown()
+        TestCaseInTempDir.tearDown(self)
         cache.connect_cachefile = self._old_connect_cachefile
 
     def make_local_bzrdir(self, repos_path, relpath):




More information about the bazaar-commits mailing list