Use non-ascii PLATFORM_NAME in tests.

It should help catch unicode encoding problems earlier.

This also updates python-saml dependency to a version that includes a
patch for unicode strings.
This commit is contained in:
Matjaz Gregoric
2016-09-18 12:59:03 +02:00
parent 977e664afe
commit 344c72b3e2
26 changed files with 119 additions and 83 deletions

View File

@@ -29,7 +29,7 @@ class TermsOfServiceCheckboxInput(CheckboxInput):
link_end='</a>',
)
html = '<input{{}} /> <label class="tos-checkbox-label" for="{id}">{label}</label>'.format(
html = u'<input{{}} /> <label class="tos-checkbox-label" for="{id}">{label}</label>'.format(
id=final_attrs['id'],
label=label
)