jenkins-job-builder/tests/triggers/test_job_triggers.py
Vsevolod Fedorov f6d93251b9 Tests: Add zuul trigger tests
Change-Id: Iefbcedeadc2dbe314555182abf96c087e9d7cbe8
2023-01-26 11:11:13 +03:00

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()