MCPcopy Create free account
hub / github.com/bytesizedhosting/bcd / TestGetManifests

Function TestGetManifests

engines/rpc_test.go:41–52  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

39}
40
41func TestGetManifests(t *testing.T) {
42 b := &ManifestResponse{}
43 rpcengine.GetManifests(nil, b)
44
45 if len(b.Manifests) == 0 {
46 t.Error("Did not receive any manifests")
47 }
48
49 if b.Manifests[0].Name != "Deluge" {
50 t.Error("Manifest has no name set", b.Manifests[0])
51 }
52}

Callers

nothing calls this directly

Calls 1

GetManifestsMethod · 0.80

Tested by

no test coverage detected