github.com/altoros/juju-vmware@v0.0.0-20150312064031-f19ae857ccca/provider/manual/suite_test.go (about)

     1  // Copyright 2013 Canonical Ltd.
     2  // Licensed under the AGPLv3, see LICENCE file for details.
     3  
     4  package manual_test
     5  
     6  import (
     7  	"testing"
     8  
     9  	gc "gopkg.in/check.v1"
    10  
    11  	"github.com/juju/juju/environs/storage"
    12  	"github.com/juju/juju/provider/manual"
    13  )
    14  
    15  func Test(t *testing.T) {
    16  	// Prevent any use of ssh for storage.
    17  	*manual.NewSSHStorage = func(sshHost, storageDir, storageTmpdir string) (storage.Storage, error) {
    18  		return nil, nil
    19  	}
    20  	gc.TestingT(t)
    21  }