github.com/niedbalski/juju@v0.0.0-20190215020005-8ff100488e47/cmd/juju/commands/package_test.go (about) 1 // Copyright 2014 Canonical Ltd. 2 // Licensed under the AGPLv3, see LICENCE file for details. 3 4 package commands_test 5 6 import ( 7 stdtesting "testing" 8 9 "github.com/juju/juju/component/all" 10 _ "github.com/juju/juju/provider/dummy" 11 "github.com/juju/juju/testing" 12 ) 13 14 func init() { 15 if err := all.RegisterForClient(); err != nil { 16 panic(err) 17 } 18 } 19 20 func TestPackage(t *stdtesting.T) { 21 testing.MgoTestPackage(t) 22 }