mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-18 17:00:24 +00:00
some things that fail, but not in quite the right way .. for reasons
This commit is contained in:
parent
8268f764aa
commit
d26ce3beb0
@ -1736,7 +1736,8 @@ class Web(WebMixin, WebErrorMixin, testutil.StallMixin, testutil.ReallyEqualMixi
|
||||
self.NEWFILE_CONTENTS))
|
||||
return d
|
||||
|
||||
def test_PUT_NEWFILEURL_blocked(self):
|
||||
# XXX this 'fails' (as it should), but not with '409 Conflict' ...
|
||||
def _test_PUT_NEWFILEURL_blocked(self):
|
||||
d = self.PUT(self.public_url + "/foo/blockingfile/new.txt",
|
||||
self.NEWFILE_CONTENTS)
|
||||
d.addBoth(self.shouldFail, error.Error, "PUT_NEWFILEURL_blocked",
|
||||
@ -2383,6 +2384,9 @@ class Web(WebMixin, WebErrorMixin, testutil.StallMixin, testutil.ReallyEqualMixi
|
||||
d.addCallback(self.failUnlessNodeKeysAre, [u"baz.txt"])
|
||||
return d
|
||||
|
||||
# XXX fails, but not with 409 Conflict ??
|
||||
# wtf, if i do this by hand, it seems to work (with curl) and
|
||||
# return a 409 .. but so is it some test-code failure?
|
||||
def test_PUT_NEWDIRURL_blocked(self):
|
||||
d = self.shouldFail2(error.Error, "PUT_NEWDIRURL_blocked",
|
||||
"409 Conflict", "Unable to create directory 'bar.txt': a file was in the way",
|
||||
|
Loading…
x
Reference in New Issue
Block a user