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

Function creds_fail_when_no_identity_in_url

atomic-cli/src/commands/auth.rs:526–530  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

524
525 #[test]
526 fn creds_fail_when_no_identity_in_url() {
527 // A bare host with no userinfo and no subdomain resolves to no identity.
528 let issue = evaluate_push_credentials(None, false, |_| true, |_| true);
529 assert_eq!(issue, Some(CredentialIssue::NoIdentityInUrl));
530 }
531
532 #[test]
533 fn creds_fail_when_identity_missing_from_store() {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected