]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
test_web: test POST_upload_no_link against /uri, not /uri/
authorBrian Warner <warner@lothar.com>
Tue, 25 Dec 2007 00:55:38 +0000 (17:55 -0700)
committerBrian Warner <warner@lothar.com>
Tue, 25 Dec 2007 00:55:38 +0000 (17:55 -0700)
src/allmydata/test/test_web.py

index fb1d119a300012c28840c36b455ad6641e81fce2..9d2590cb2a865b95a03dd9c0bdf9dee0fe0bc692 100644 (file)
@@ -937,13 +937,13 @@ class Web(WebMixin, unittest.TestCase):
         return d
 
     def test_POST_upload_no_link(self):
-        d = self.POST("/uri/", t="upload",
+        d = self.POST("/uri", t="upload",
                       file=("new.txt", self.NEWFILE_CONTENTS))
         d.addCallback(self.failUnlessCHKURIHasContents, self.NEWFILE_CONTENTS)
         return d
 
     def test_POST_upload_no_link_whendone(self):
-        d = self.POST("/uri/", t="upload", when_done="/",
+        d = self.POST("/uri", t="upload", when_done="/",
                       file=("new.txt", self.NEWFILE_CONTENTS))
         d.addBoth(self.shouldRedirect, "/")
         # XXX Test that resulting welcome page has a "most recent