"""Shared test fixtures for augint-org test suite."""

import pytest


@pytest.fixture(autouse=True)
def _aws_credentials(monkeypatch):
    """Mock AWS credentials to prevent real AWS calls during tests."""
    monkeypatch.setenv("AWS_ACCESS_KEY_ID", "testing")
    monkeypatch.setenv("AWS_SECRET_ACCESS_KEY", "testing")
    monkeypatch.setenv("AWS_SECURITY_TOKEN", "testing")
    monkeypatch.setenv("AWS_SESSION_TOKEN", "testing")
    monkeypatch.setenv("AWS_DEFAULT_REGION", "us-east-1")
    # Remove AWS_PROFILE so boto3 does not attempt to load a named profile
    monkeypatch.delenv("AWS_PROFILE", raising=False)
