Skip to content

Commit 918d4d5

Browse files
committed
✅ Fix pytest
1 parent ab68347 commit 918d4d5

File tree

3 files changed

+11
-15
lines changed

3 files changed

+11
-15
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ exclude_lines = [
103103
]
104104

105105
[tool.bandit.assert_used]
106-
skips = ["*_test.py", "test_*.py"]
106+
skips = ["*_test.py", "*/test_*.py"]
107107

108108
[tool.cibuildwheel]
109109
archs = ["all"]

tests/server_test.py

Lines changed: 0 additions & 14 deletions
This file was deleted.

tests/test_utils.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
r"""Test utils."""
2+
from tmux_language_server.utils import get_schema
3+
4+
5+
class Test:
6+
r"""Test."""
7+
8+
@staticmethod
9+
def test_get_schema() -> None:
10+
assert get_schema()["properties"].get("set")

0 commit comments

Comments
 (0)