From: Zooko O'Whielacronx Date: Wed, 19 Dec 2007 00:47:49 +0000 (-0700) Subject: unit test that POST /uri/?t=mkdir works X-Git-Url: https://git.rkrishnan.org/%5B/%5D%20/uri/flags/reliability?a=commitdiff_plain;h=2a7f374e45896148076c86a5e494c97e851334eb;p=tahoe-lafs%2Ftahoe-lafs.git unit test that POST /uri/?t=mkdir works --- diff --git a/src/allmydata/test/test_web.py b/src/allmydata/test/test_web.py index 5a3ddcd9..ef54d045 100644 --- a/src/allmydata/test/test_web.py +++ b/src/allmydata/test/test_web.py @@ -1073,14 +1073,12 @@ class Web(WebMixin, unittest.TestCase): d.addCallback(self.failUnlessNodeKeysAre, []) return d - def test_POST_mkdir_no_parentdir(self): - d = self.POST("/uri/", t="mkdir") + def test_POST_mkdir_no_parentdir_noredirect(self): + d = self.POST("/uri/?t=mkdir") def _after_mkdir(res): self.failUnless(uri.is_string_newdirnode_rw(res)) - # XXX TODO more d.addCallback(_after_mkdir) return d - test_POST_mkdir_no_parentdir.skip = "not yet implemented" def test_POST_mkdir_replace(self): # return value? d = self.POST(self.public_url + "/foo", t="mkdir", name="sub")