File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ def test_django_project_found_invalid_settings(
102102 result = django_pytester .runpytest_subprocess ("django_project_root" )
103103 assert result .ret != 0
104104
105- result .stderr .fnmatch_lines (["*Error :*DOES_NOT_EXIST*" ])
105+ result .stderr .fnmatch_lines (["*ImportError :*DOES_NOT_EXIST*" ])
106106 result .stderr .fnmatch_lines (["*pytest-django found a Django project*" ])
107107
108108
@@ -122,7 +122,7 @@ def test_django_project_scan_disabled_invalid_settings(
122122 result = django_pytester .runpytest_subprocess ("django_project_root" )
123123 assert result .ret != 0
124124
125- result .stderr .fnmatch_lines (["*Error *DOES_NOT_EXIST*" ])
125+ result .stderr .fnmatch_lines (["*ImportError *DOES_NOT_EXIST*" ])
126126 result .stderr .fnmatch_lines (["*pytest-django did not search for Django projects*" ])
127127
128128
You can’t perform that action at this time.
0 commit comments