MCPcopy Create free account
hub / github.com/aptly-dev/aptly / TestGetPublishedStorageBadFS

Method TestGetPublishedStorageBadFS

context/context_test.go:81–88  ·  view source on GitHub ↗
(c *C)

Source from the content-addressed store, hash-verified

79}
80
81func (s *AptlyContextSuite) TestGetPublishedStorageBadFS(c *C) {
82 // https://github.com/aptly-dev/aptly/issues/711
83 // https://github.com/aptly-dev/aptly/issues/1477
84 // GetPublishedStorage must return an error (not panic) when the
85 // requested storage is not configured.
86 _, err := s.context.GetPublishedStorage("filesystem:fuji")
87 c.Assert(err, NotNil)
88}
89
90func (s *AptlyContextSuite) TestGetPublishedStorageJFrogConfigured(c *C) {
91 prevConfig := utils.Config

Callers

nothing calls this directly

Calls 1

GetPublishedStorageMethod · 0.65

Tested by

no test coverage detected