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