Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor utils, add tests, move exceptions into separate module #264

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
fix tests (fix import)
  • Loading branch information
demitryfly committed Jun 14, 2024
commit afceb608506b917c6146cdf6212eee2549db8b15
4 changes: 2 additions & 2 deletions tests/test_utils.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import pytest

import utils
from simple_ddl_parser import utils


@pytest.mark.parametrize(
Expand Down Expand Up @@ -28,7 +28,7 @@ def test_find_first_unpair_closed_par(expression, expected_result):
(["("], []),
([")"], []),
(["(", ")"], []),
(["(", ")"], []),
([")", "("], []),
(["(", "A"], ["A"]),
(["A", ")"], ["A"]),
(["(", "A", ")"], ["A"]),
Expand Down
Loading