* _do_enforce_content_types(): only decode content type if it's a byte string (don't decode on Python 3) * Decode bytes HTTP body to compare it to text string. On Python 3, bytes == str is always false (or emit/raise a BytesWarning). * Use byte strings rather than text strings for literal HTTP body: HTTP body type is bytes. * Remove test_resources from tests-py3-blacklist.py to run it Partially implements: blueprint barbican-py3 Change-Id: I6d830ea620ac5a237b5e2929077eb2f4504b5e59
9 lines
341 B
Plaintext
9 lines
341 B
Plaintext
barbican.tests.api.controllers.test_containers
|
|
barbican.tests.api.controllers.test_orders
|
|
barbican.tests.api.controllers.test_quotas
|
|
barbican.tests.api.controllers.test_secrets
|
|
barbican.tests.api.test_transport_keys_resource
|
|
barbican.tests.cmd.test_barbican_manage
|
|
barbican.tests.cmd.test_db_cleanup
|
|
barbican.tests.plugin.crypto.test_pkcs11
|