diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2016-09-07 02:04:43 +0200 |
---|---|---|
committer | Máximo Cuadros <mcuadros@gmail.com> | 2016-09-07 02:04:43 +0200 |
commit | 56adb5be3ad26a0045ea6c6a6d24dafdff15ba1c (patch) | |
tree | bd8ecbb6674f01f03f97fb15083bed0a3e8e021d /remote_test.go | |
parent | 98a22e72a808aa0d5dd62339817404fd9e1c4db6 (diff) | |
download | go-git-56adb5be3ad26a0045ea6c6a6d24dafdff15ba1c.tar.gz |
format: packfile new interface
Diffstat (limited to 'remote_test.go')
-rw-r--r-- | remote_test.go | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/remote_test.go b/remote_test.go index 9bafcd1..e19f7b8 100644 --- a/remote_test.go +++ b/remote_test.go @@ -14,6 +14,10 @@ type RemoteSuite struct { var _ = Suite(&RemoteSuite{}) +func (s *RemoteSuite) SetUpSuite(c *C) { + s.installMockProtocol(c) +} + func (s *RemoteSuite) TestConnect(c *C) { r := newRemote(nil, &config.RemoteConfig{Name: "foo", URL: RepositoryFixture}) @@ -35,16 +39,6 @@ func (s *RemoteSuite) TestnewRemoteInvalidSchemaEndpoint(c *C) { c.Assert(err, NotNil) } -/* -func (s *RemoteSuite) TestNewAuthenticatedRemote(c *C) { - a := &http.BasicAuth{} - r, err := NewAuthenticatedRemote("foo", RepositoryFixture, a) - c.Assert(err, IsNil) - c.Assert(r.Name, Equals, "foo") - c.Assert(r.Endpoint.String(), Equals, RepositoryFixture) - c.Assert(r.Auth, Equals, a) -}*/ - func (s *RemoteSuite) TestInfo(c *C) { r := newRemote(nil, &config.RemoteConfig{Name: "foo", URL: RepositoryFixture}) r.upSrv = &MockGitUploadPackService{} |