Added basic integration tests focussing on javascript

This commit is contained in:
Max Berger
2026-02-18 23:03:54 +01:00
parent bd3be1c56b
commit fda0f5a5a3
3 changed files with 138 additions and 2 deletions

View File

@@ -44,6 +44,7 @@ test = ["pytest>=7", "waitress", "bcrypt", "argon2-cffi"]
bcrypt = ["bcrypt"]
argon2 = ["argon2-cffi"]
ldap = ["ldap3"]
integ_test = ["pytest", "pytest-playwright"]
[project.scripts]
radicale = "radicale.__main__:run"
@@ -79,13 +80,16 @@ deps = ["mypy==1.11.0"]
commands = [["mypy", "--install-types", "--non-interactive", "."]]
skip_install = true
[tool.pytest.ini_options]
norecursedirs = ["integ_tests"]
[tool.setuptools]
platforms = ["Any"]
include-package-data = false
[tool.setuptools.packages.find]
exclude = ["*.tests"] # *.tests.*; tests.*; tests
exclude = ["*.tests", "integ_tests"] # *.tests.*; tests.*; tests
namespaces = false
[tool.setuptools.package-data]
@@ -116,7 +120,7 @@ exclude = "(^|/)build($|/)"
[tool.coverage.run]
branch = true
source = ["radicale"]
omit = ["tests/*", "*/tests/*"]
omit = ["tests/*", "*/tests/*", "integ_tests/*", "*/integ_tests/*"]
[tool.coverage.report]
# Regexes for lines to exclude from consideration