Fix TestCorporateIdentityTemplateList in Python 2.
Errors were being raised for returning `None` in Python 2 (due to a missing else branch) and for re-encoding bytes in Python 2. I changed the code to use str2bytes in the cases where bytes are expected.
Showing
Please register or sign in to comment