summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ipatests/test_xmlrpc/test_add_remove_cert_cmd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipatests/test_xmlrpc/test_add_remove_cert_cmd.py b/ipatests/test_xmlrpc/test_add_remove_cert_cmd.py
index 0810182b3..014d088c6 100644
--- a/ipatests/test_xmlrpc/test_add_remove_cert_cmd.py
+++ b/ipatests/test_xmlrpc/test_add_remove_cert_cmd.py
@@ -112,7 +112,7 @@ class CertManipCmdTestBase(XMLRPC_test):
cls.invalid_b64 = [u'few4w24gvrae54y6463234f']
# malformed certificate
- cls.malformed_cert = [base64.b64encode('malformed cert')]
+ cls.malformed_cert = [base64.b64encode(b'malformed cert')]
# store entity info for the final test
cls.entity_attrs = api.Command['%s_show' % cls.entity_class](