Skip to content

Commit 3f03d0a

Browse files
committed
Fix compat with pytest 6
1 parent 400143b commit 3f03d0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_manage_py_scan.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def test_django_project_found_invalid_settings_version(django_testdir, monkeypat
116116
"""Invalid DSM should not cause an error with --help or --version."""
117117
monkeypatch.setenv("DJANGO_SETTINGS_MODULE", "DOES_NOT_EXIST")
118118

119-
result = django_testdir.runpytest_subprocess("django_project_root", "--version")
119+
result = django_testdir.runpytest_subprocess("django_project_root", "--version", "--version")
120120
assert result.ret == 0
121121
result.stderr.fnmatch_lines(["*This is pytest version*"])
122122

0 commit comments

Comments
 (0)