mirror of
https://github.com/chatmail/relay.git
synced 2026-08-29 19:43:14 +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 @@ dependencies = [
|
||||
[project.scripts]
|
||||
cmdeploy = "cmdeploy.cmdeploy:main"
|
||||
|
||||
[project.entry-points.pytest11]
|
||||
"cmdeploy.testplugin" = "cmdeploy.tests.plugin"
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
addopts = "-v -ra --strict-markers"
|
||||
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
@@ -1,9 +1,11 @@
|
||||
"""Run the lua scripts we ship under lupa, which bundles Lua 5.4 like dovecot."""
|
||||
|
||||
import pytest
|
||||
from chatmaild.tests.plugin import * # noqa: F403
|
||||
from lupa import lua54
|
||||
|
||||
from cmdeploy.basedeploy import get_resource
|
||||
from cmdeploy.tests.plugin import * # noqa: F403
|
||||
|
||||
|
||||
class Lua:
|
||||
|
||||
Reference in New Issue
Block a user