Skip to content

Commit

Permalink
Fix ruff violation
Browse files Browse the repository at this point in the history
  • Loading branch information
ThiefMaster committed Dec 3, 2024
1 parent db05b2e commit cd2ab50
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cern_access/tests/operations_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def _mock_post(event, registrations, **kwargs):
def setup_fixtures(func):
"""Set up fixtures (utlity decorator)."""
func = pytest.mark.usefixtures('smtp', 'mock_access_request', 'dummy_access_request')(func)
return pytest.mark.parametrize('mock_access_request', [{
return pytest.mark.parametrize('mock_access_request', ({
'during_registration': True,
'during_registration_required': True,
'personal_data': generate_personal_data(),
Expand All @@ -57,7 +57,7 @@ def setup_fixtures(func):
'during_registration_required': True,
'personal_data': generate_personal_data(),
'include_accompanying_persons': True
}], indirect=True)(func)
}), indirect=True)(func)


@setup_fixtures
Expand Down

0 comments on commit cd2ab50

Please sign in to comment.