(c *C)
| 79 | } |
| 80 | |
| 81 | func (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 | |
| 90 | func (s *AptlyContextSuite) TestGetPublishedStorageJFrogConfigured(c *C) { |
| 91 | prevConfig := utils.Config |
nothing calls this directly
no test coverage detected