]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
remove leftover defer.setDebugging(), to speed up tests from 200s to 83s
authorBrian Warner <warner@allmydata.com>
Tue, 4 Dec 2007 00:10:02 +0000 (17:10 -0700)
committerBrian Warner <warner@allmydata.com>
Tue, 4 Dec 2007 00:10:02 +0000 (17:10 -0700)
src/allmydata/client.py
src/allmydata/test/test_system.py

index fa91cd1fb4c32035f3741aa7337da114372bbfae..96c6f9df744f99dee1798bd1ac808a92c17e5ef3 100644 (file)
@@ -72,8 +72,6 @@ class Client(node.Node, Referenceable, testutil.PollMixin):
         return ws.create_start_html(privdiruri, startfile, nodeurl_file)
 
     def init_start_page(self):
-        from twisted.internet import defer
-        defer.setDebugging(True)
         if not self._start_page_observers:
             self._start_page_observers = observer.OneShotObserverList()
             d = self.get_private_uri()
index 91f7d9eed7fb8da4ff92b0e7be5fd6c5dcbd422e..a9016cbdc3fa937e2b2a4bf437b674363cde24d8 100644 (file)
@@ -646,7 +646,6 @@ class SystemTest(testutil.SignalMixin, unittest.TestCase):
         return d
 
     def _do_publish_private(self, res):
-        defer.setDebugging(True)
         self.smalldata = "sssh, very secret stuff"
         ut = upload.Data(self.smalldata)
         d = self.clients[0].get_private_uri()