MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / test_auth_failed

Function test_auth_failed

atomic-remote/src/error.rs:436–441  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

434
435 #[test]
436 fn test_auth_failed() {
437 let err = RemoteError::auth_failed("http://example.com", "invalid token");
438 assert!(err.is_auth_error());
439 assert!(!err.is_retryable());
440 assert!(err.suggestion().is_some());
441 }
442
443 #[test]
444 fn test_repo_not_found() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected