mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 00:51:53 +08:00
clean yaml error message
This commit is contained in:
@@ -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")
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user