launchpad.net/~rogpeppe/juju-core/500-errgo-fix@v0.0.0-20140213181702-000000002356/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 "launchpad.net/gocheck" 10 11 "launchpad.net/juju-core/environs/storage" 12 "launchpad.net/juju-core/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 }