From 87e6ccbd4a9d50cf3aa001ced6f320d5ec1f6e51 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Mon, 3 Dec 2007 17:10:02 -0700 Subject: [PATCH] remove leftover defer.setDebugging(), to speed up tests from 200s to 83s --- src/allmydata/client.py | 2 -- src/allmydata/test/test_system.py | 1 - 2 files changed, 3 deletions(-) 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() -- 2.45.2