fixup! fixup! Validate against invalid characters in Lexeme values

pull/12257/merge
Sage Abdullah 2025-02-21 20:10:22 +00:00 zatwierdzone przez sag​e
rodzic fcbd114936
commit 732ac35b3f
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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")