<filename>lambda_handlers/response/tests/test_module_aliases.py
from typing import Any, Type

import pytest

from lambda_handlers import response as subject
from lambda_handlers.response.cors_headers import CORSHeaders


class TestModuleAliases:

    @pytest.mark.parametrize(
        'alias, target',
        [
            ('cors', CORSHeaders),
        ],
    )
    def test_alias(self, alias: str, target: Type[Any]):
        assert hasattr(subject, alias)
        assert getattr(subject, alias) == target
