"""Reusable pytest bits.""" import uuid import pytest from m2mconfig.schemas import ClientMetadata, RegistryEntry @pytest.fixture() def mock_entry_name() -> str: """Mock entry name.""" return "best-lambda" @pytest.fixture() def mock_qa_aws_account() -> str: """Mock qa aws account.""" return "qaqaqaqaqaqa" @pytest.fixture() def mock_registry_entry( mock_entry_name: str, mock_qa_aws_account: str, ) -> RegistryEntry: """Reusable RegistryEntry.""" return RegistryEntry( name=mock_entry_name, prod_aws_account="prodprodprod", qa_aws_account=mock_qa_aws_account, uat_aws_account="uatuatuatuat", client_metadata=ClientMetadata(m2m_identity_uuid=uuid.uuid4()), )