clean yaml error message

This commit is contained in:
Devaev Maxim
2021-04-17 17:44:48 +03:00
parent 5dea266895
commit 19c4c7d1e3
3 changed files with 11 additions and 6 deletions

View File

@@ -158,7 +158,7 @@ def test_fail__not_htpasswd() -> None:
def test_fail__unknown_plugin() -> None:
with pytest.raises(SystemExit, match="Config error: Unknown plugin 'auth/foobar'"):
with pytest.raises(SystemExit, match="ConfigError: Unknown plugin 'auth/foobar'"):
_run_htpasswd(["list"], "", internal_type="foobar")