Skip to content

Commit

Permalink
build: configure pytest asyncio fixture scope (#265)
Browse files Browse the repository at this point in the history
  • Loading branch information
ttu authored Jan 7, 2025
1 parent 097447e commit 19c1a29
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ issues = "https://github.com/ttu/ruuvitag-sensor/issues"

[tool.pytest.ini_options]
testpaths = "tests/"
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"

[tool.ruff]
exclude = [".venv", ".git", ".eggs", "__pycache__", "build", "dist"]
Expand Down

0 comments on commit 19c1a29

Please sign in to comment.