"""Fixtures for lambda testing.""" import os from typing import Any import pytest from tests.integration.utils.dockerized_lambda_client import DockerizedLambdaAPIClient QA_BASE_URL = os.environ.get('QA_BASE_URL', 'http://sync-contract-sap-lambda:8080') def dockerized_lambda_api_client(headers: dict[str, str]) -> DockerizedLambdaAPIClient: """Create adjustments_apply dockerized lambda object.""" return DockerizedLambdaAPIClient(QA_BASE_URL, headers) @pytest.fixture(scope='session') def basic_headers() -> dict[str, Any]: """Return basic headers.""" return {'Content-Type': 'application/json'}