1
0
mirror of https://github.com/httpie/cli.git synced 2025-08-10 22:42:05 +02:00

Use relative imports (#1057)

* Use relative imports in test

* Use relative imports

* Add myself to contributors :)
This commit is contained in:
Mickaël Schoentgen
2021-05-05 14:13:39 +02:00
committed by GitHub
parent 7cbdf2c608
commit a3a08a9a22
50 changed files with 118 additions and 118 deletions

View File

@@ -2,7 +2,7 @@ from typing import Iterable
import pytest
from tests.utils.matching.parsing import OutputMatchingError, expect_tokens, Expect
from .parsing import OutputMatchingError, expect_tokens, Expect
__all__ = [

View File

@@ -3,7 +3,7 @@ from typing import Iterable
from enum import Enum, auto
from httpie.output.writer import MESSAGE_SEPARATOR
from tests.utils import CRLF
from ...utils import CRLF
class Expect(Enum):

View File

@@ -3,8 +3,8 @@ Here we test our output parsing and matching implementation, not HTTPie itself.
"""
from httpie.output.writer import MESSAGE_SEPARATOR
from tests.utils import CRLF
from tests.utils.matching import assert_output_does_not_match, assert_output_matches, Expect
from ...utils import CRLF
from . import assert_output_does_not_match, assert_output_matches, Expect
def test_assert_output_matches_headers_incomplete():