Skip to content

Commit

Permalink
Fix compat with pytest 6
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-k committed Aug 2, 2020
1 parent 400143b commit 3f03d0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_manage_py_scan.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def test_django_project_found_invalid_settings_version(django_testdir, monkeypat
"""Invalid DSM should not cause an error with --help or --version."""
monkeypatch.setenv("DJANGO_SETTINGS_MODULE", "DOES_NOT_EXIST")

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

Expand Down

0 comments on commit 3f03d0a

Please # to comment.