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

Function test_provenance_list_url_format

atomic-remote/src/http/tests.rs:56–62  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

54
55#[test]
56fn test_provenance_list_url_format() {
57 // Flat inventory endpoint — mirrors the .change sync model (advertise
58 // hashes, client computes presence delta, pulls missing by hash).
59 let url = format!("{}?provenance-list", "https://api.example.com/code");
60 assert!(url.contains("provenance-list"));
61 assert!(!url.contains("change="));
62}
63
64#[test]
65fn test_user_agent_format() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected