diff --git a/poetry.lock b/poetry.lock index 864d115..77d8814 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 2.1.1 and should not be changed by hand. +# This file is automatically @generated by Poetry 2.1.4 and should not be changed by hand. [[package]] name = "alabaster" @@ -1285,21 +1285,21 @@ windows-terminal = ["colorama (>=0.4.6)"] [[package]] name = "pytest" -version = "8.4.2" +version = "9.0.2" description = "pytest: simple powerful testing with Python" optional = false -python-versions = ">=3.9" +python-versions = ">=3.10" groups = ["dev"] files = [ - {file = "pytest-8.4.2-py3-none-any.whl", hash = "sha256:872f880de3fc3a5bdc88a11b39c9710c3497a547cfa9320bc3c5e62fbf272e79"}, - {file = "pytest-8.4.2.tar.gz", hash = "sha256:86c0d0b93306b961d58d62a4db4879f27fe25513d4b969df351abdddb3c30e01"}, + {file = "pytest-9.0.2-py3-none-any.whl", hash = "sha256:711ffd45bf766d5264d487b917733b453d917afd2b0ad65223959f59089f875b"}, + {file = "pytest-9.0.2.tar.gz", hash = "sha256:75186651a92bd89611d1d9fc20f0b4345fd827c41ccd5c299a868a05d70edf11"}, ] [package.dependencies] colorama = {version = ">=0.4", markers = "sys_platform == \"win32\""} exceptiongroup = {version = ">=1", markers = "python_version < \"3.11\""} -iniconfig = ">=1" -packaging = ">=20" +iniconfig = ">=1.0.1" +packaging = ">=22" pluggy = ">=1.5,<2" pygments = ">=2.7.2" tomli = {version = ">=1", markers = "python_version < \"3.11\""} @@ -2072,4 +2072,4 @@ docs = [] [metadata] lock-version = "2.1" python-versions = "^3.10.0" -content-hash = "5b3240f08e65ebe73991ae8f8fbfd03cee3de29977493b90385e74d1ce2ef844" +content-hash = "6152c58bb33c48142798a6b901612b2be4e03c0418ea54b235f34ff9a8b5c237" diff --git a/pyproject.toml b/pyproject.toml index b48f506..70ff905 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -91,7 +91,7 @@ docs = ["sphinx", "sphinx-immaterial"] black = ">=24.4,<27.0" isort = "^5.13.2" pre-commit = "*" -pytest = "^8" +pytest = "^9" pytest-flake8 = "*" pytest-cov = "*" mypy = "^1.14" @@ -107,6 +107,7 @@ sphinx-immaterial = ">=0.11,<0.13" addopts = """ --capture=no --verbose +--color=yes --showlocals --junitxml=reports/junit.xml --cov=openapi_schema_validator diff --git a/tests/integration/test_validators.py b/tests/integration/test_validators.py index 7609198..0b4a372 100644 --- a/tests/integration/test_validators.py +++ b/tests/integration/test_validators.py @@ -467,8 +467,8 @@ def test_oneof_discriminator(self, validator_class, schema_type): "properties": { "discipline": { "type": "string", - # we allow both the explicitely matched mountain_hiking discipline - # and the implicitely matched MoutainHiking discipline + # we allow both the explicitly matched mountain_hiking discipline + # and the implicitly matched MoutainHiking discipline "enum": ["mountain_hiking", "MountainHiking"], }, "length": { @@ -499,7 +499,7 @@ def test_oneof_discriminator(self, validator_class, schema_type): {"$ref": "#/components/schemas/AlpineClimbing"}, ] - # Add the compoments in a minimalis schema + # Add the components in a minimalis schema schema = { "$ref": "#/components/schemas/Route", "components": {"schemas": components},