[project]
name = "graphql-router-auth-tests"
version = "0.1.0"
description = "JWT auth enforcement integration tests for the GraphQL router"
requires-python = ">=3.13"
dependencies = [
    "pytest>=8.0.0",
    "httpx>=0.27.0",
    # Mints real QA JWTs via Auth0 for the valid-token cases. Orchard-internal
    # package (theorchard index below); the `testing` extra pulls boto3,
    # pydantic[email], pyotp, requests.
    "jwtauth[testing]>=0.7.1",
]

[tool.uv]
# Test harness, not a distributable package — install only dependencies.
package = false
index-url = "https://pypi.org/simple"

[[tool.uv.index]]
name = "theorchard"
url = "https://pypi.theorchard.io/simple/"
explicit = true

[tool.uv.sources]
jwtauth = { index = "theorchard" }

[tool.pytest.ini_options]
testpaths = ["."]
python_files = ["test_*.py"]
addopts = [
    "-v",
    "--tb=short",
]
