mirror of
https://github.com/chatmail/relay.git
synced 2026-05-10 16:04:37 +00:00
move tox.ini into pyproject.toml
This commit is contained in:
@@ -8,3 +8,20 @@ version = "0.1"
|
||||
dependencies = [
|
||||
"pyinfra",
|
||||
]
|
||||
|
||||
[tool.tox]
|
||||
legacy_tox_ini = """
|
||||
[tox]
|
||||
isolated_build = true
|
||||
envlist = lint
|
||||
|
||||
[testenv:lint]
|
||||
skipdist = True
|
||||
skip_install = True
|
||||
deps =
|
||||
ruff
|
||||
black
|
||||
commands =
|
||||
black --quiet --check --diff src/
|
||||
ruff src/
|
||||
"""
|
||||
|
||||
@@ -14,3 +14,9 @@ def test_verify_or_create():
|
||||
assert res["status"] == "ok"
|
||||
res = verify_user(b"newuser1@something.org", b"kajdlqweqwe")
|
||||
assert res["status"] == "fail"
|
||||
|
||||
|
||||
def test_lua_integration(request):
|
||||
p = request.fspath.dirpath("test.lua")
|
||||
assert p.exists()
|
||||
assert 0
|
||||
|
||||
Reference in New Issue
Block a user