<filename>tests/test_oas_any.py<gh_stars>1-10
import typing as t

import pytest

from axion.oas.parser import type as parse_type


@pytest.mark.parametrize('python_type', (str, int, float, dict, set, list, bool))
def test_python_type(python_type: t.Type[t.Any]) -> None:
    assert issubclass(
        python_type,
        parse_type.resolve({}, {}).python_type,
    )

<filename>tests/test_oas_any.py<gh_stars>1-10
import typing as t

import pytest

from axion.oas.parser import type as parse_type


@pytest.mark.parametrize('python_type', (str, int, float, dict, set, list, bool))
def test_python_type(python_type: t.Type[t.Any]) -> None:
    assert issubclass(
        python_type,
        parse_type.resolve({}, {}).python_type,
    )
