Use GOOSE_DISABLE_KEYRING when running tests (#12783)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -162,7 +162,8 @@ fn muse_cli_auth_path() -> PathBuf {
|
||||
fn muse_cli_keychain_token() -> Option<MuseToken> {
|
||||
#[cfg(feature = "system-keyring")]
|
||||
{
|
||||
if std::env::var("MUSE_AUTH_PATH").is_ok() {
|
||||
if std::env::var("MUSE_AUTH_PATH").is_ok() || std::env::var("GOOSE_DISABLE_KEYRING").is_ok()
|
||||
{
|
||||
return None;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user