Skip to content

Commit

Permalink
✅ Fix pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
Freed-Wu committed Dec 25, 2023
1 parent e6c9049 commit c01023e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 15 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ exclude_lines = [
]

[tool.bandit.assert_used]
skips = ["*_test.py", "test_*.py"]
skips = ["*_test.py", "*/test_*.py"]

[tool.cibuildwheel]
archs = ["all"]
Expand Down
14 changes: 0 additions & 14 deletions tests/server_test.py

This file was deleted.

10 changes: 10 additions & 0 deletions tests/test_utils.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
r"""Test utils."""
from mutt_language_server.utils import get_schema


class Test:
r"""Test."""

@staticmethod
def test_get_schema() -> None:
assert get_schema()["properties"].get("set")

0 comments on commit c01023e

Please sign in to comment.