Skip to content

Commit a04d948

Browse files
Update plugin_test.py
1 parent 9fcf17d commit a04d948

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

‎plugin_test.py‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -433,11 +433,7 @@ def test_annotation_max_length_rejects_negative(
433433
pytester: pytest.Pytester, monkeypatch: pytest.MonkeyPatch
434434
):
435435
monkeypatch.setenv("PYTHONPATH", str(REPO_ROOT))
436-
result = pytester.runpytest_subprocess(
437-
"-p",
438-
"pytest_github_actions_annotate_failures.plugin",
439-
"--github-annotation-max-length=-1",
440-
)
436+
result = pytester.runpytest_subprocess("--github-annotation-max-length=-1")
441437
result.stderr.fnmatch_lines(
442438
["ERROR: --github-annotation-max-length must be greater than or equal to 0"]
443439
)

0 commit comments

Comments
 (0)