Merge remote-tracking branch 'origin/benvin/local-ansible' into benvin/virtual-ansible

This commit is contained in:
2026-10-18 04:00:24 +11:00
4 changed files with 95 additions and 12 deletions
+4
View File
@@ -124,6 +124,10 @@ func TestAnsiblePublishAndServe(t *testing.T) {
t.Fatalf("page 1 = %+v", page)
}
next := *page.Links.Next
if !strings.HasPrefix(next, "/api/v1/local/"+repo+"/") {
t.Fatalf("next = %q, want root-relative", next)
}
next = srv.URL + next
page.Links.Next = nil
getJSON(t, next, &page)
if len(page.Data) != 1 || page.Data[0].Version != "1.0.0" || page.Links.Next != nil {