"""Conftest module for unit tests."""
# flake8: noqa
import pytest
@pytest.fixture
def business_unit_xml():
"""Fixture for business units XML."""
return """
RetrieveResponse
urn:uuid:8763a177-7ad6-463d-96e0-fcb751f9130c
urn:uuid:5087b7df-7f4a-4816-a2be-8efe16cb44c9
http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous
2025-07-03T16:39:17Z
2025-07-03T16:44:17Z
OK
9a1d0c5f-a60c-41ff-95ee-7806a7d4af9f
6202337
None
Legacy Recordings
"""
@pytest.fixture
def triggered_send_definitions_xml():
"""Fixture for triggered send definitions XML."""
return """
RetrieveResponse
urn:uuid:9c87f7bb-02b1-4463-956e-5965680c7976
urn:uuid:7c97c3d3-fad4-427d-8252-0e9f47f4c7a8
http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous
2025-05-02T09:58:01Z
2025-05-02T10:03:01Z
OK
b48d9ad8-ed50-43db-ac83-773b2fa61ac4
6202337
168c0585-c436-e911-a2c8-1402ec938918
my-customer-key
my-name
Active
"""
@pytest.fixture
def triggered_send_definitions_full_response():
"""Fixture for triggered send definitions response."""
return '{"TriggerSends": [{"MID": "6202337", "BusinessUnitName": "Legacy Recordings", "TriggerSendDefinitionKey": "my-customer-key", "TriggerSendDefinitionName": "my-name"}]}'