github.com/wallyworld/juju@v0.0.0-20161013125918-6cf1bc9d917a/core/description/package_test.go (about) 1 // Copyright 2015 Canonical Ltd. 2 // Licensed under the AGPLv3, see LICENCE file for details. 3 4 package description 5 6 import ( 7 "testing" 8 9 gc "gopkg.in/check.v1" 10 11 coretesting "github.com/juju/juju/testing" 12 ) 13 14 // Useful test constants. 15 16 // Constraints and CloudInstance store megabytes 17 const gig uint64 = 1024 18 19 // None of the tests in this package require mongo. 20 func TestPackage(t *testing.T) { 21 gc.TestingT(t) 22 } 23 24 type ImportTest struct{} 25 26 var _ = gc.Suite(&ImportTest{}) 27 28 func (*ImportTest) TestImports(c *gc.C) { 29 found := coretesting.FindJujuCoreImports(c, "github.com/juju/juju/core/description") 30 31 // This package brings in nothing else from juju/juju 32 c.Assert(found, gc.HasLen, 0) 33 }