shadowed test name; reveal both tests

This commit is contained in:
meejah 2019-09-27 11:49:29 -06:00
parent 98005bab1f
commit 543a948d32

View File

@ -1389,7 +1389,7 @@ class Web(WebMixin, WebErrorMixin, testutil.StallMixin, testutil.ReallyEqualMixi
d.addCallback(self.failUnlessIsQuuxDotTxt)
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)
errmsg = "Files have no children named 'boguschild'"
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)
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)
errmsg = "Cannot create directory 'boguschild', because its parent is a file, not a directory"
d = self.shouldFail2(error.Error, "test_GET_FILE_URI_badchild",