kopia lustrzana https://github.com/wagtail/wagtail
fixup! fixup! Validate against invalid characters in Lexeme values
rodzic
fcbd114936
commit
732ac35b3f
|
@ -160,7 +160,7 @@ class TestMySQLSearchBackend(BackendTests, TransactionTestCase):
|
|||
|
||||
with self.assertRaisesMessage(
|
||||
ValueError,
|
||||
"Lexeme value 'hello world' must consist of alphanumeric characters "
|
||||
"Lexeme value 'rimsky@korsakov' must consist of alphanumeric characters "
|
||||
"and '_' only.",
|
||||
):
|
||||
Lexeme("rimsky@korsakov")
|
||||
|
|
Ładowanie…
Reference in New Issue