move tests/chatmaild to chatmaild package, streamline tests and fixtures accordingly

This commit is contained in:
holger krekel
2023-12-11 13:04:11 +01:00
parent 3f2eb84323
commit a5e4562505
15 changed files with 94 additions and 39 deletions

View File

@@ -20,6 +20,9 @@ where = ['src']
doveauth = "chatmaild.doveauth:main"
filtermail = "chatmaild.filtermail:main"
[project.entry-points.pytest11]
"chatmaild.testplugin" = "chatmaild.tests.plugin"
[tool.pytest.ini_options]
addopts = "-v -ra --strict-markers"
log_format = "%(asctime)s %(levelname)s %(message)s"
@@ -45,5 +48,5 @@ commands =
[testenv]
deps = pytest
pdbpp
commands = pytest -v -rsXx {posargs: ../tests/chatmaild}
commands = pytest -v -rsXx {posargs}
"""