From: Sage Weil Date: Fri, 13 Dec 2019 17:14:30 +0000 (-0600) Subject: test/pybind/test_rados: execute takes a bytes (not str) payload X-Git-Tag: v15.1.0~448^2~7 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=aaeabf97b1cbd5b97f0c8e32e2ab703dd034434e;p=ceph.git test/pybind/test_rados: execute takes a bytes (not str) payload Signed-off-by: Sage Weil --- diff --git a/src/test/pybind/test_rados.py b/src/test/pybind/test_rados.py index 3d32a379c94f..cfbcad08cb03 100644 --- a/src/test/pybind/test_rados.py +++ b/src/test/pybind/test_rados.py @@ -534,7 +534,7 @@ class TestIoctx(object): def test_execute_op(self): with WriteOpCtx() as write_op: - write_op.execute("hello", "record_hello", "ebs") + write_op.execute("hello", "record_hello", b"ebs") self.ioctx.operate_write_op(write_op, "object") eq(self.ioctx.read('object'), b"Hello, ebs!")