(c *C)
| 42 | } |
| 43 | |
| 44 | func (s *RemoteSuite) TestFetchNonExistentEndpoint(c *C) { |
| 45 | r := NewRemote(nil, &config.RemoteConfig{Name: "foo", URLs: []string{"ssh://non-existent/foo.git"}}) |
| 46 | err := r.Fetch(&FetchOptions{}) |
| 47 | c.Assert(err, NotNil) |
| 48 | } |
| 49 | |
| 50 | func (s *RemoteSuite) TestFetchInvalidSchemaEndpoint(c *C) { |
| 51 | r := NewRemote(nil, &config.RemoteConfig{Name: "foo", URLs: []string{"qux://foo"}}) |