mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
py3: dogtag.py: fix bytes warnings
/usr/lib/python3.5/site-packages/ipaserver/plugins/dogtag.py:1438: BytesWarning: str() on a bytes instance "parse_result:\\n%s" % (parse_func.__name__, xml_text, result)) https://pagure.io/freeipa/issue/4985 Reviewed-By: Stanislav Laznicka <slaznick@redhat.com>
This commit is contained in:
@@ -34,7 +34,8 @@ env:
|
|||||||
- TASK_TO_RUN="run-tests"
|
- TASK_TO_RUN="run-tests"
|
||||||
PYTHON=/usr/bin/python3
|
PYTHON=/usr/bin/python3
|
||||||
TEST_RUNNER_CONFIG=".test_runner_config_py3_temp.yaml"
|
TEST_RUNNER_CONFIG=".test_runner_config_py3_temp.yaml"
|
||||||
TESTS_TO_RUN="test_xmlrpc/test_attr.py
|
TESTS_TO_RUN="test_xmlrpc/test_add_remove_cert_cmd.py
|
||||||
|
test_xmlrpc/test_attr.py
|
||||||
test_xmlrpc/test_automember_plugin.py
|
test_xmlrpc/test_automember_plugin.py
|
||||||
test_xmlrpc/test_automount_plugin.py
|
test_xmlrpc/test_automount_plugin.py
|
||||||
test_xmlrpc/test_baseldap_plugin.py
|
test_xmlrpc/test_baseldap_plugin.py
|
||||||
@@ -52,7 +53,6 @@ env:
|
|||||||
test_xmlrpc/test_krbtpolicy.py"
|
test_xmlrpc/test_krbtpolicy.py"
|
||||||
### Tests which haven't been ported to py3 yet ###
|
### Tests which haven't been ported to py3 yet ###
|
||||||
## test_xmlrpc/test_[a-k]*.py
|
## test_xmlrpc/test_[a-k]*.py
|
||||||
# test_xmlrpc/test_add_remove_cert_cmd.py
|
|
||||||
# test_xmlrpc/test_ca_plugin.py
|
# test_xmlrpc/test_ca_plugin.py
|
||||||
# test_xmlrpc/test_caacl_plugin.py
|
# test_xmlrpc/test_caacl_plugin.py
|
||||||
# test_xmlrpc/test_caacl_profile_enforcement.py
|
# test_xmlrpc/test_caacl_profile_enforcement.py
|
||||||
|
|||||||
@@ -1434,8 +1434,9 @@ class ra(rabase.rabase, RestClient):
|
|||||||
self.raise_certificate_operation_error('get_parse_result_xml',
|
self.raise_certificate_operation_error('get_parse_result_xml',
|
||||||
detail=str(e))
|
detail=str(e))
|
||||||
result = parse_func(doc)
|
result = parse_func(doc)
|
||||||
self.debug("%s() xml_text:\n%s\n"
|
self.debug(
|
||||||
"parse_result:\n%s" % (parse_func.__name__, xml_text, result))
|
"%s() xml_text:\n%r\nparse_result:\n%r",
|
||||||
|
parse_func.__name__, xml_text, result)
|
||||||
return result
|
return result
|
||||||
|
|
||||||
def check_request_status(self, request_id):
|
def check_request_status(self, request_id):
|
||||||
|
|||||||
Reference in New Issue
Block a user