diff --git a/pyproject.toml b/pyproject.toml index 02ea265..212e75b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -37,6 +37,9 @@ webpush = [ blurhash = [ 'blurhash>=1.1.4', ] +grapheme = [ + 'grapheme>=0.6.0', +] test = [ 'pytest', 'pytest-cov', diff --git a/tests/test_status_length.py b/tests/test_status_length.py index a7059e2..06f23d7 100644 --- a/tests/test_status_length.py +++ b/tests/test_status_length.py @@ -38,7 +38,7 @@ TEST_CASES = [ ("f\u0301", 1), # Stress-tests - ("https://sub.sub2.пример.рф/путь/страница?параметр=значение#якорь", 47), + ("https://sub.sub2.Путин.рф/увидимся/в?Гааге=военный#преступник", 1000 - 952), ("clusters: 😀😃😄😁😆😅😂🤣😊🙂😉🙃😇🥰😍🤩😘😗😙😚", 30), # Varied compositions