diff --git a/tests/conftest.py b/tests/conftest.py index 2cc19be6..9300ec3c 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -42,7 +42,7 @@ def benchmark(): "deterministic", settings( derandomize=True, - suppress_health_check=HealthCheck.all(), + suppress_health_check=list(HealthCheck), ), ) settings.register_profile("dev", settings(suppress_health_check=[HealthCheck.too_slow])) diff --git a/tests/unit/test_repair.py b/tests/unit/test_repair.py index 3a153bca..cb3e38d3 100644 --- a/tests/unit/test_repair.py +++ b/tests/unit/test_repair.py @@ -15,7 +15,7 @@ @given(uid=uid_strategy) # Using the random module for UIDs: -@settings(suppress_health_check=HealthCheck.all()) +@settings(suppress_health_check=list(HealthCheck)) @pytest.mark.asyncio async def test_repair_uids(uid): s = MemoryStorage() @@ -38,7 +38,7 @@ async def test_repair_uids(uid): @given(uid=uid_strategy.filter(lambda x: not href_safe(x))) # Using the random module for UIDs: -@settings(suppress_health_check=HealthCheck.all()) +@settings(suppress_health_check=list(HealthCheck)) @pytest.mark.asyncio async def test_repair_unsafe_uids(uid): s = MemoryStorage()