Skip to content

Commit

Permalink
Update test_wemake.py
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolevn committed Feb 28, 2024
1 parent 1593706 commit b553962
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions tests/unit/profiles/test_wemake.py
Expand Up @@ -88,10 +88,22 @@ class _ClassVisitor(ast.NodeVisitor): ...


def test_wemake_snippet_four():
"""80 line length should be fixed"""
"""80 line length should not be fixed"""
wemake_isort_test(
"""
from typing import Iterable, Iterator, Optional, Sequence, Tuple, TypeVar, Union
""",
"""
from typing import Iterable, Iterator, Optional, Sequence, Tuple, TypeVar, Union
""",
)


def test_wemake_snippet_five():
"""81 line length should be fixed"""
wemake_isort_test(
"""
from typing import Iterable, Iterator, Optional, Sequence, Tuple, TypeVar, Union1
""",
"""
from typing import (
Expand All @@ -101,7 +113,7 @@ def test_wemake_snippet_four():
Sequence,
Tuple,
TypeVar,
Union,
Union1,
)
""",
)

0 comments on commit b553962

Please sign in to comment.