]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
test_web.py: fix a test failure dependent on whether simplejson.loads returns a unico...
authordavid-sarah <david-sarah@jacaranda.org>
Mon, 8 Aug 2011 21:39:25 +0000 (14:39 -0700)
committerdavid-sarah <david-sarah@jacaranda.org>
Mon, 8 Aug 2011 21:39:25 +0000 (14:39 -0700)
src/allmydata/test/test_web.py

index 69d8211d7c53ce399a86aa808868b919fc31bb73..f03313f763c6d8690f11fdac39af7a5d8f271ec1 100644 (file)
@@ -366,9 +366,9 @@ class WebMixin(object):
         self.failUnlessReallyEqual(to_str(kids[u"n\u00fc.txt"][1]["ro_uri"]),
                                    self._bar_txt_uri)
         self.failUnlessIn("quux.txt", kids)
-        self.failUnlessReallyEqual(kids[u"quux.txt"][1]["rw_uri"],
+        self.failUnlessReallyEqual(to_str(kids[u"quux.txt"][1]["rw_uri"]),
                                    self._quux_txt_uri)
-        self.failUnlessReallyEqual(kids[u"quux.txt"][1]["ro_uri"],
+        self.failUnlessReallyEqual(to_str(kids[u"quux.txt"][1]["ro_uri"]),
                                    self._quux_txt_readonly_uri)
 
     def GET(self, urlpath, followRedirect=False, return_response=False,