fix init.sh and test.sh

use tox for chatmaild non-online tests
This commit is contained in:
holger krekel
2023-10-21 12:10:13 +02:00
parent bada933fef
commit 3058ddc542
4 changed files with 28 additions and 13 deletions

View File

@@ -20,7 +20,7 @@ addopts = "-v -ra --strict-markers"
legacy_tox_ini = """
[tox]
isolated_build = true
envlist = lint
envlist = lint,py
[testenv:lint]
skipdist = True
@@ -31,4 +31,10 @@ deps =
commands =
black --quiet --check --diff src/
ruff src/
[testenv]
passenv = CHATMAIL_DOMAIN
deps = pytest
pdbpp
commands = pytest -v -rsXx {posargs: ../tests/chatmaild}
"""