diff --git a/Justfile b/Justfile index c012fe0f..4f82e5b9 100644 --- a/Justfile +++ b/Justfile @@ -18,7 +18,7 @@ test-fast *args: test *args: #!/bin/bash - trap 'echo; docker compose down --remove-orphans' EXIT + trap 'echo; docker compose logs && docker compose down --remove-orphans' EXIT docker compose up -d uv run pytest {{args}} diff --git a/packages/stompman/test_stompman/test_integration.py b/packages/stompman/test_stompman/test_integration.py index 9439839d..fff9f8c0 100644 --- a/packages/stompman/test_stompman/test_integration.py +++ b/packages/stompman/test_stompman/test_integration.py @@ -89,7 +89,7 @@ def bytes_not_contains(*avoided: bytes) -> Callable[[bytes], bool]: return lambda checked: all(item not in checked for item in avoided) -noise_bytes_strategy = strategies.binary().filter(bytes_not_contains(NEWLINE, NULL)) +noise_bytes_strategy = strategies.binary().filter(bytes_not_contains(NEWLINE, NULL, *COMMANDS_TO_FRAMES)) header_value_strategy = strategies.text().filter(lambda text: "\x00" not in text) headers_strategy = strategies.dictionaries(header_value_strategy, header_value_strategy).map( lambda headers: dict( diff --git a/pyproject.toml b/pyproject.toml index 9c21e6f6..9fcb48c9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ version = "0" dev = [ "anyio==4.8.0", "faker==37.5.3", - "hypothesis==6.124.7", + "hypothesis==6.136.6", "mypy==1.17.1", "polyfactory==2.19.0", "pytest==8.4.1",