tests: use force_str() in sql fts test (#36515)
This commit is contained in:
parent
7bd1967fc4
commit
53812ecd8e
|
@ -14,6 +14,7 @@ from django.core.management import call_command
|
|||
|
||||
from quixote import cleanup
|
||||
|
||||
from wcs.qommon import force_str
|
||||
from wcs import formdef, publisher, fields
|
||||
from wcs.formdef import FormDef
|
||||
from wcs.formdata import Evolution
|
||||
|
@ -951,7 +952,7 @@ def test_sql_criteria_fts():
|
|||
|
||||
# check unaccent
|
||||
user = sql.SqlUser()
|
||||
user.name = u'Frédéric'.encode('utf-8')
|
||||
user.name = force_str(u'Frédéric')
|
||||
user.store()
|
||||
t.user_id = user.id
|
||||
t.store()
|
||||
|
|
Loading…
Reference in New Issue