From: Brian Warner Date: Mon, 19 May 2008 21:09:31 +0000 (-0700) Subject: test_system: match webapi change, making new files now returns 201 Created, not 200 OK X-Git-Tag: allmydata-tahoe-1.1.0~116 X-Git-Url: https://git.rkrishnan.org/%5B/COPYING.TGPPL.html?a=commitdiff_plain;h=b1d2922ea3eaf3ef26f6ae3ff62dde01ec06a64f;p=tahoe-lafs%2Ftahoe-lafs.git test_system: match webapi change, making new files now returns 201 Created, not 200 OK --- diff --git a/src/allmydata/test/test_system.py b/src/allmydata/test/test_system.py index 5dad8bb7..76b990c4 100644 --- a/src/allmydata/test/test_system.py +++ b/src/allmydata/test/test_system.py @@ -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())