From: Brian Warner <warner@allmydata.com>
Date: Fri, 5 Dec 2008 09:12:10 +0000 (-0700)
Subject: test_web: add get_permuted_peers, to unbreak recent checker_results change
X-Git-Url: https://git.rkrishnan.org/specifications/something?a=commitdiff_plain;h=a0b5b5ab2be6772615f44f199807010fd96378a2;p=tahoe-lafs%2Ftahoe-lafs.git

test_web: add get_permuted_peers, to unbreak recent checker_results change
---

diff --git a/src/allmydata/test/test_web.py b/src/allmydata/test/test_web.py
index 2a9d770d..6e7a1175 100644
--- a/src/allmydata/test/test_web.py
+++ b/src/allmydata/test/test_web.py
@@ -52,6 +52,9 @@ class FakeClient(service.MultiService):
     def get_nickname_for_peerid(self, peerid):
         return u"John Doe"
 
+    def get_permuted_peers(self, service_name, key):
+        return []
+
     def create_node_from_uri(self, auri):
         u = uri.from_string(auri)
         if (INewDirectoryURI.providedBy(u)