mirror of
https://github.com/httpie/cli.git
synced 2025-01-22 03:08:59 +02:00
Mark test_session_unicode as xfail
There are known problems with unicode in headers. See https://github.com/jakubroztocil/httpie/issues/282
This commit is contained in:
parent
337c05f95c
commit
873102d5eb
@ -1,6 +1,9 @@
|
||||
# coding=utf-8
|
||||
import os
|
||||
import shutil
|
||||
import sys
|
||||
|
||||
import pytest
|
||||
|
||||
from httpie.plugins.builtin import HTTPBasicAuth
|
||||
from utils import TestEnvironment, mk_config_dir, http, HTTP_OK, \
|
||||
@ -132,6 +135,10 @@ class TestSession(SessionTestBase):
|
||||
assert HTTP_OK in r2
|
||||
assert r2.json['headers']['Foo'] == 'Bar'
|
||||
|
||||
@pytest.mark.skipif(
|
||||
sys.version_info >= (3,),
|
||||
reason="This test fails intermittently on Python 3 - "
|
||||
"see https://github.com/jakubroztocil/httpie/issues/282")
|
||||
def test_session_unicode(self, httpbin):
|
||||
self.start_session(httpbin)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user