# Path: swf/constants.py
# REGISTERED = 'REGISTERED'


from swf.constants import REGISTERED
# -*- coding:utf-8 -*-



def mock_list_domains(*args, **kwargs):
    override_data = kwargs.pop('override_data', {})

    response = {
        "domainInfos": [{
            "description": "mocked test domain",
            "name": "test-domain",
            "status": REGISTERED,
        }],
    }

    response.update(override_data)

    return response


def mock_describe_domain(*args, **kwargs):
    override_data = kwargs.pop('override_data', {})

    response = {
        "configuration": {
            "workflowExecutionRetentionPeriodInDays": "40"
        },
        "domainInfo": {
            "description": "mocked test domain",
            "name": "test-domain",

# Path: swf/constants.py
# REGISTERED = 'REGISTERED'


# Path: tests/mocks/domain.py
from swf.constants import REGISTERED

# -*- coding:utf-8 -*-



def mock_list_domains(*args, **kwargs):
    override_data = kwargs.pop('override_data', {})

    response = {
        "domainInfos": [{
            "description": "mocked test domain",
            "name": "test-domain",
            "status": REGISTERED,
        }],
    }

    response.update(override_data)

    return response


def mock_describe_domain(*args, **kwargs):
    override_data = kwargs.pop('override_data', {})

    response = {
        "configuration": {
            "workflowExecutionRetentionPeriodInDays": "40"
        },
        "domainInfo": {
            "description": "mocked test domain",
            "name": "test-domain",

            "status": REGISTERED