Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions tests/test_ci_environment.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
"""CI environment validation for integration tests."""
import os


def test_perigon_api_key_format():
"""Validate that PERIGON_API_KEY follows the expected sk-* convention."""
api_key = os.environ.get("PERIGON_API_KEY", "")
assert api_key.startswith("sk-"), (
f"Expected PERIGON_API_KEY to start with 'sk-', got: {api_key}"
)