From 7d311b8dd7e66ab3a373d8fa2115295735a61fab Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Mon, 24 Dec 2007 17:55:38 -0700 Subject: [PATCH] test_web: test POST_upload_no_link against /uri, not /uri/ --- src/allmydata/test/test_web.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/allmydata/test/test_web.py b/src/allmydata/test/test_web.py index fb1d119a..9d2590cb 100644 --- a/src/allmydata/test/test_web.py +++ b/src/allmydata/test/test_web.py @@ -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 -- 2.45.2