import pytest def test_secrets(): with pytest.raises(ValueError, match='Failed to load secret with key:.*'): import crypto_seller.secrets_config # noqa: F401