Skip to content

Commit

Permalink
Rewrite tests
Browse files Browse the repository at this point in the history
The tests are now using pytest. However, 100% coverage is not yet achieved.
  • Loading branch information
realshouzy committed Feb 26, 2024
1 parent 9916d74 commit 5a5014f
Show file tree
Hide file tree
Showing 5 changed files with 699 additions and 72 deletions.
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ warn_unused_ignores = true

[[tool.mypy.overrides]]
module = "tests.*"
disallow_untyped_decorators = false
disable_error_code = ["attr-defined"]

[tool.ruff]
Expand Down Expand Up @@ -149,3 +150,6 @@ python_files = ["*_test.py"]

[tool.coverage.run]
plugins = ["covdefaults"]

[tool.coverage.report]
fail_under = 90
Empty file added tests/__init__.py
Empty file.
Loading

0 comments on commit 5a5014f

Please sign in to comment.