You've already forked httpie-cli
mirror of
https://github.com/httpie/cli.git
synced 2025-12-24 00:31:09 +02:00
Drop sequence length check
This commit is contained in:
@@ -4,7 +4,6 @@ Various unicode handling related tests.
|
||||
"""
|
||||
import pytest
|
||||
import responses
|
||||
from charset_normalizer.constant import TOO_SMALL_SEQUENCE
|
||||
|
||||
from httpie.cli.constants import PRETTY_MAP
|
||||
from httpie.encoding import UTF8
|
||||
@@ -13,8 +12,7 @@ from .utils import http, HTTP_OK, URL_EXAMPLE, MockEnvironment, StdinBytesIO
|
||||
from .fixtures import UNICODE
|
||||
|
||||
|
||||
CZECH_TEXT = 'Všichni lidé jsou si rovni. Všichni lidé jsou si rovni.'
|
||||
assert len(CZECH_TEXT) > TOO_SMALL_SEQUENCE
|
||||
CZECH_TEXT = 'Všichni lidé jsou si rovni.'
|
||||
CZECH_TEXT_SPECIFIC_CHARSET = 'windows-1250'
|
||||
ENCODINGS = [UTF8, CZECH_TEXT_SPECIFIC_CHARSET]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user