Skip to content

Commit

Permalink
Apply consistent style to tests (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
stefmolin authored Feb 9, 2025
1 parent b65431c commit 30e8ee2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ lint.select = [
"FA", # flake8-future-annotations
"I", # isort
"N", # pep8-naming
"PT", # flake8-pytest-style
"PTH", # flake8-use-pathlib
"RUF", # ruff-specific rules
"SIM", # flake8-simplify
Expand Down
2 changes: 1 addition & 1 deletion tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def test_cli_version(capsys):
assert f'{cli.PROG} {cli.__version__}' == capsys.readouterr().out.strip()


@pytest.mark.parametrize(['flag', 'return_code'], [['--version', 0], ['', 1]])
@pytest.mark.parametrize(('flag', 'return_code'), [('--version', 0), ('', 1)])
def test_main_access_cli(flag, return_code, image_with_exif_data):
"""Confirm that CLI can be accessed via python -m."""
result = subprocess.run(
Expand Down

0 comments on commit 30e8ee2

Please sign in to comment.