Skip to content

Commit

Permalink
Linting.
Browse files Browse the repository at this point in the history
  • Loading branch information
domdfcoding committed Mar 21, 2021
1 parent 581e7da commit 22d203d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ def test_parse_valid_config_license_text(


@pytest.mark.parametrize(
"license, expected",
"license_key, expected",
[
pytest.param(
"license = {}",
Expand All @@ -465,7 +465,7 @@ def test_parse_valid_config_license_text(
]
)
def test_bad_config_license(
license: str,
license_key: str,
expected: str,
tmp_pathplus: PathPlus,
advanced_data_regression: AdvancedDataRegressionFixture,
Expand All @@ -475,7 +475,7 @@ def test_bad_config_license(
f'[project]',
f'name = "spam"',
f'version = "2020.0.0"',
license,
license_key,
])

with pytest.raises(BadConfigError, match=expected):
Expand Down

0 comments on commit 22d203d

Please sign in to comment.