mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-03-25 21:17:37 +00:00
test_web: test POST_upload_no_link against /uri, not /uri/
This commit is contained in:
parent
ae760b3ee4
commit
7d311b8dd7
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user