]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
pybind: Add test for creating pool by raw UTF-8
authorDavid Coles <dcoles@gaikai.com>
Tue, 20 Oct 2015 17:57:46 +0000 (10:57 -0700)
committerDavid Coles <dcoles@gaikai.com>
Fri, 13 Nov 2015 01:26:30 +0000 (17:26 -0800)
commit801ea73a691539fd1c9f4ebe006cf8d6eb52c5b1
tree7adfd779ba8d8260efb19c987253f42e480b3417
parent63f5462cbd36b29596920a05043fe36ec3d9037a
pybind: Add test for creating pool by raw UTF-8

Some clients try providing non-ASCII pool names by sending raw encoded bytes.
This check ensures that we still support this behaviour for Python 2.

In Python 3, bytestrings will fail since strings are Unicode strings and thus
clients should use Unicode escapes instead.

Signed-off-by: David Coles <dcoles@gaikai.com>
src/test/pybind/test_rados.py