From b1d2922ea3eaf3ef26f6ae3ff62dde01ec06a64f Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Mon, 19 May 2008 14:09:31 -0700 Subject: [PATCH] test_system: match webapi change, making new files now returns 201 Created, not 200 OK --- src/allmydata/test/test_system.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()) -- 2.45.2