mirror of
https://github.com/chatmail/relay.git
synced 2026-09-13 10:53:15 +00:00
test!: remove global registration of pytest plugins
Instead a conftest.py close to the test files needs to opt into using plugin hooks and fixtures. also remove some packaging leftover with initenv.sh
This commit is contained in:
@@ -27,9 +27,6 @@ chatmail-quota-expire = "chatmaild.expire:quota_expire_main"
|
||||
chatmail-fsreport = "chatmaild.fsreport:main"
|
||||
lastlogin = "chatmaild.lastlogin: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"
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
"""Opt in to the chatmaild fixtures, which are not registered globally."""
|
||||
|
||||
from chatmaild.tests.plugin import * # noqa: F403
|
||||
Reference in New Issue
Block a user