From: Brian Warner Date: Tue, 20 May 2008 01:52:19 +0000 (-0700) Subject: test/common: oops, forgot the FakeMutableFileNode.get_readonly fix X-Git-Tag: allmydata-tahoe-1.1.0~109 X-Git-Url: https://git.rkrishnan.org/class-simplejson.JSONEncoder-index.html?a=commitdiff_plain;h=9662e6d986a7b888a14cb1afa1095a08af9a5f40;p=tahoe-lafs%2Ftahoe-lafs.git test/common: oops, forgot the FakeMutableFileNode.get_readonly fix --- diff --git a/src/allmydata/test/common.py b/src/allmydata/test/common.py index 49fc905e..cf709d76 100644 --- a/src/allmydata/test/common.py +++ b/src/allmydata/test/common.py @@ -84,6 +84,8 @@ class FakeMutableFileNode: return self def get_uri(self): return self.my_uri.to_string() + def get_readonly(self): + return self.my_uri.get_readonly() def get_readonly_uri(self): return self.my_uri.get_readonly().to_string() def is_readonly(self):