Skip to content

Commit 4f8b895

Browse files
tobixenclaude
andcommitted
Set Cyrus password to sentinel value (any-password-seems-to-work)
Cyrus Docker container does not enforce password authentication, accepting any password. Use the sentinel value that the test suite already recognizes to skip the wrong-password test. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 03fd701 commit 4f8b895

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

tests/test_servers/docker.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,9 @@ def __init__(self, config: dict[str, Any] | None = None) -> None:
9797
config.setdefault("host", os.environ.get("CYRUS_HOST", "localhost"))
9898
config.setdefault("port", int(os.environ.get("CYRUS_PORT", "8802")))
9999
config.setdefault("username", os.environ.get("CYRUS_USERNAME", "user1"))
100-
config.setdefault("password", os.environ.get("CYRUS_PASSWORD", "x"))
100+
config.setdefault(
101+
"password", os.environ.get("CYRUS_PASSWORD", "any-password-seems-to-work")
102+
)
101103
# Set up Cyrus-specific compatibility hints
102104
if "features" not in config:
103105
config["features"] = compatibility_hints.cyrus.copy()

0 commit comments

Comments
 (0)