diff --git a/tests/pbt/test_security_properties.py b/tests/pbt/test_security_properties.py index 452f52f..21b41f2 100644 --- a/tests/pbt/test_security_properties.py +++ b/tests/pbt/test_security_properties.py @@ -13,6 +13,7 @@ import string import pytest +import pytest; pytest.importorskip('hypothesis') from hypothesis import given, settings, strategies as st, HealthCheck # --------------------------------------------------------------------------- diff --git a/tests/test_audit_remediation.py b/tests/test_audit_remediation.py index 75460e3..ecbba2d 100644 --- a/tests/test_audit_remediation.py +++ b/tests/test_audit_remediation.py @@ -6,6 +6,8 @@ """ from __future__ import annotations +import pytest; pytest.importorskip('fastapi'); pytest.importorskip('hypothesis') + import asyncio import json import os diff --git a/tests/test_tg2_context.py b/tests/test_tg2_context.py index cdeccc5..30512eb 100644 --- a/tests/test_tg2_context.py +++ b/tests/test_tg2_context.py @@ -6,7 +6,6 @@ """ from __future__ import annotations -import pytest import pytest; pytest.importorskip('hypothesis') from hypothesis import given, settings from hypothesis import strategies as st