mirror of
https://github.com/jmagar/unraid-mcp.git
synced 2026-11-10 01:57:56 -08:00
feat(elicitation): add CredentialsNotConfiguredError sentinel
This commit is contained in:
1 parent
b734eff902
commit
ea839ec09c
2 files changed
+24
-1
No files matched your search
@@ -0,0 +1,11 @@
|
||||
def test_credentials_not_configured_error_exists():
|
||||
from unraid_mcp.core.exceptions import CredentialsNotConfiguredError
|
||||
|
||||
err = CredentialsNotConfiguredError()
|
||||
assert str(err) == "Unraid credentials are not configured."
|
||||
|
||||
|
||||
def test_credentials_not_configured_error_is_exception():
|
||||
from unraid_mcp.core.exceptions import CredentialsNotConfiguredError
|
||||
|
||||
assert issubclass(CredentialsNotConfiguredError, Exception)
|
||||
Reference in new issue
Block a user