mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-04 12:14:11 +00:00
shadowed test name; reveal both tests
This commit is contained in:
parent
98005bab1f
commit
543a948d32
@ -1389,7 +1389,7 @@ class Web(WebMixin, WebErrorMixin, testutil.StallMixin, testutil.ReallyEqualMixi
|
|||||||
d.addCallback(self.failUnlessIsQuuxDotTxt)
|
d.addCallback(self.failUnlessIsQuuxDotTxt)
|
||||||
return d
|
return d
|
||||||
|
|
||||||
def test_GET_FILE_URI_badchild(self):
|
def test_GET_FILE_URI_badchild0(self):
|
||||||
base = "/uri/%s/boguschild" % urllib.quote(self._bar_txt_uri)
|
base = "/uri/%s/boguschild" % urllib.quote(self._bar_txt_uri)
|
||||||
errmsg = "Files have no children named 'boguschild'"
|
errmsg = "Files have no children named 'boguschild'"
|
||||||
d = self.shouldFail2(error.Error, "test_GET_FILE_URI_badchild",
|
d = self.shouldFail2(error.Error, "test_GET_FILE_URI_badchild",
|
||||||
@ -1397,7 +1397,7 @@ class Web(WebMixin, WebErrorMixin, testutil.StallMixin, testutil.ReallyEqualMixi
|
|||||||
self.GET, base)
|
self.GET, base)
|
||||||
return d
|
return d
|
||||||
|
|
||||||
def test_PUT_FILE_URI_badchild(self):
|
def test_PUT_FILE_URI_badchild1(self):
|
||||||
base = "/uri/%s/boguschild" % urllib.quote(self._bar_txt_uri)
|
base = "/uri/%s/boguschild" % urllib.quote(self._bar_txt_uri)
|
||||||
errmsg = "Cannot create directory 'boguschild', because its parent is a file, not a directory"
|
errmsg = "Cannot create directory 'boguschild', because its parent is a file, not a directory"
|
||||||
d = self.shouldFail2(error.Error, "test_GET_FILE_URI_badchild",
|
d = self.shouldFail2(error.Error, "test_GET_FILE_URI_badchild",
|
||||||
|
Loading…
Reference in New Issue
Block a user