From: Brian Warner Date: Tue, 4 Dec 2007 00:10:02 +0000 (-0700) Subject: remove leftover defer.setDebugging(), to speed up tests from 200s to 83s X-Git-Url: https://git.rkrishnan.org/pf/content/en/footer/CLI.txt?a=commitdiff_plain;h=87e6ccbd4a9d50cf3aa001ced6f320d5ec1f6e51;p=tahoe-lafs%2Ftahoe-lafs.git remove leftover defer.setDebugging(), to speed up tests from 200s to 83s --- diff --git a/src/allmydata/client.py b/src/allmydata/client.py index fa91cd1f..96c6f9df 100644 --- a/src/allmydata/client.py +++ b/src/allmydata/client.py @@ -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() diff --git a/src/allmydata/test/test_system.py b/src/allmydata/test/test_system.py index 91f7d9ee..a9016cbd 100644 --- a/src/allmydata/test/test_system.py +++ b/src/allmydata/test/test_system.py @@ -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()