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