From 6f8c96e262872d162acbcce411bb4741a54646d6 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Thu, 21 Jul 2016 18:13:28 -0700 Subject: [PATCH] oops, fix NoNetworkStorageBroker to match --- src/allmydata/test/no_network.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/allmydata/test/no_network.py b/src/allmydata/test/no_network.py index 233a0817e..c18aa676a 100644 --- a/src/allmydata/test/no_network.py +++ b/src/allmydata/test/no_network.py @@ -175,8 +175,8 @@ class NoNetworkStorageBroker: return self.client._servers def get_nickname_for_serverid(self, serverid): return None - def on_servers_changed(self, cb): - pass + def when_connected_enough(self, threshold): + return defer.Deferred() class NoNetworkClient(Client):