Jyrki Muukkonen
Jyrki Muukkonen
At least on empty string `format: hostname` validator raises `ValueError` and not the expected `ValidationError`. ``` >>> from jsonschema.validators import validator_for >>> schema = {"$schema": "https://json-schema.org/draft/2020-12/schema", "type": "string", "format": "hostname"}...
Assert that hostname format validation fails gracefully on empty strings. This is especially for Python `jsonschema` library that raises an unexpected ValueError exception on `hostname` check (python-jsonschema/jsonschema#1121). Adds similar test...
Add the following options from Poetry installer command: * `--no-root` * `--no-directory` * `-E, --extras=EXTRAS` * `--all-extras` These are useful for creating different combinations of archives and Docker layers. Extras...
## Description With `pytest-asyncio` and `async def test_...()` function decorated with `@pytest.mark.xyz` each marker appears twice in `request.node.iter_markers_with_node()`. ## Environment `pip list` ``` Package Version -------------- ------- iniconfig 2.0.0 packaging...