Skip to content

Commit

Permalink
fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
DeltaDaniel committed Jul 30, 2024
1 parent a964774 commit 0bfa650
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions unittests/test_sqlparser.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,11 @@ def test_format_code(self) -> None:
unsorted = (
"from sqlmodel import Field, Relationship, SQLModel\n"
"from typing import TYPE_CHECKING, List\n"
"from borm.models.enum.anrede import Anrede"
"from ibims.models.enum.anrede import Anrede"
)
resorted = (
"from typing import TYPE_CHECKING, List\n\n"
"from sqlmodel import Field, Relationship, SQLModel\n\n"
"from borm.models.enum.anrede import Anrede\n"
"from ibims.models.enum.anrede import Anrede\n"
)
assert resorted == format_code(unsorted)

0 comments on commit 0bfa650

Please sign in to comment.