Skip to content

Commit 66595f7

Browse files
committed
partial restore
1 parent 0252f9e commit 66595f7

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

pyproject.toml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,18 @@ exclude = ["contrib", "docs", "docs.*", "tests*"]
9292
[tool.setuptools.dynamic]
9393
version = {attr = "appdaemon.version.__version__"}
9494

95+
# https://docs.pytest.org/en/stable/explanation/goodpractices.html
96+
[tool.pytest.ini_options]
97+
asyncio_mode = "strict"
98+
asyncio_default_test_loop_scope = "session"
99+
asyncio_default_fixture_loop_scope = "session"
100+
addopts = ["--import-mode=importlib"]
101+
markers = [
102+
"ci: mark test to run in CI environment",
103+
"functional: mark test as functional test",
104+
"unit: mark test as unit test"
105+
]
106+
95107
[tool.codespell]
96108
# Ref: https://github.com/codespell-project/codespell#using-a-config-file
97109
skip = ".git*,*.svg,*.css,*.min.*,*.map,assets,.venv*,.docs_build,*.js"

0 commit comments

Comments
 (0)