Improve output for missing required plugins/unknown config keys (#7723)
Co-authored-by: Florian Bruhin <me@the-compiler.org>
This commit is contained in:
committed by
Bruno Oliveira
parent
52363fe560
commit
604047ee1a
@@ -362,7 +362,7 @@ class TestParseIni:
|
||||
testdir.makeini(ini_file_text)
|
||||
|
||||
if exception_text:
|
||||
with pytest.raises(pytest.fail.Exception, match=exception_text):
|
||||
with pytest.raises(pytest.UsageError, match=exception_text):
|
||||
testdir.parseconfig()
|
||||
else:
|
||||
testdir.parseconfig()
|
||||
|
||||
Reference in New Issue
Block a user