]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
test_system: match webapi change, making new files now returns 201 Created, not 200 OK
authorBrian Warner <warner@allmydata.com>
Mon, 19 May 2008 21:09:31 +0000 (14:09 -0700)
committerBrian Warner <warner@allmydata.com>
Mon, 19 May 2008 21:09:31 +0000 (14:09 -0700)
src/allmydata/test/test_system.py

index 5dad8bb7ba9d15e13d16ab2dde484eaf8fefde41..76b990c407cbabc07d22b07ec67a72e252a59963 100644 (file)
@@ -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())