Skip to content

Commit

Permalink
Show compliance case names in the test id's
Browse files Browse the repository at this point in the history
  • Loading branch information
nocarryr committed Jun 16, 2024
1 parent 43528dc commit 0e7baef
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,15 +76,21 @@ def front_channels(request) -> tuple[int, int]:
def all_channels(request) -> tuple[int, int]:
return request.param

@pytest.fixture(params=cases_by_name['3341'].values())
@pytest.fixture(
params=cases_by_name['3341'].values(),
ids=list(cases_by_name['3341'].keys())
)
def tech_3341_compliance_case(request) -> ComplianceBase:
return request.param

@pytest.fixture(params=cases_by_name['3342'].values())
@pytest.fixture(
params=cases_by_name['3342'].values(),
ids=list(cases_by_name['3342'].keys())
)
def tech_3342_compliance_case(request) -> ComplianceBase:
return request.param

@pytest.fixture(params=all_cases.values())
@pytest.fixture(params=all_cases.values(), ids=list(all_cases.keys()))
def compliance_case(request) -> ComplianceBase:
return request.param

Expand Down

0 comments on commit 0e7baef

Please sign in to comment.