60b9c23d33
Currently, views handling part in YamlParser class is not covered at all. Change-Id: Ifaac0c44b0a0487e5673060d7b1f25393161f750
22 lines
368 B
Python
22 lines
368 B
Python
from operator import attrgetter
|
|
from pathlib import Path
|
|
|
|
import pytest
|
|
|
|
from tests.enum_scenarios import scenario_list
|
|
|
|
|
|
fixtures_dir = Path(__file__).parent / "view_fixtures"
|
|
|
|
|
|
@pytest.fixture(
|
|
params=scenario_list(fixtures_dir),
|
|
ids=attrgetter("name"),
|
|
)
|
|
def scenario(request):
|
|
return request.param
|
|
|
|
|
|
def test_yaml_snippet(check_view):
|
|
check_view()
|