f6d93251b9
Change-Id: Iefbcedeadc2dbe314555182abf96c087e9d7cbe8
22 lines
356 B
Python
22 lines
356 B
Python
from operator import attrgetter
|
|
from pathlib import Path
|
|
|
|
import pytest
|
|
|
|
from tests.enum_scenarios import scenario_list
|
|
|
|
|
|
fixtures_dir = Path(__file__).parent / "job_fixtures"
|
|
|
|
|
|
@pytest.fixture(
|
|
params=scenario_list(fixtures_dir),
|
|
ids=attrgetter("name"),
|
|
)
|
|
def scenario(request):
|
|
return request.param
|
|
|
|
|
|
def test_job(check_job):
|
|
check_job()
|