mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-19 08:16:19 +00:00
test_system: match webapi change, making new files now returns 201 Created, not 200 OK
This commit is contained in:
parent
40172047a0
commit
b1d2922ea3
@ -1600,7 +1600,7 @@ class SystemTest(testutil.SignalMixin, testutil.PollMixin, testutil.StallMixin,
|
||||
return self._run_cli(argv)
|
||||
d.addCallback(_put)
|
||||
def _check_put((out,err)):
|
||||
self.failUnless("200 OK" in out)
|
||||
self.failUnless("201 Created" in out, out)
|
||||
self.failUnlessEqual(err, "")
|
||||
d = self._private_node.get_child_at_path(u"test_put/upload.txt")
|
||||
d.addCallback(lambda filenode: filenode.download_to_data())
|
||||
|
Loading…
x
Reference in New Issue
Block a user