github.com/niedbalski/juju@v0.0.0-20190215020005-8ff100488e47/core/network/package_test.go (about)

     1  // Copyright 2019 Canonical Ltd.
     2  // Licensed under the AGPLv3, see LICENCE file for details.
     3  
     4  package network_test
     5  
     6  import (
     7  	"testing"
     8  
     9  	jc "github.com/juju/testing/checkers"
    10  
    11  	coretesting "github.com/juju/juju/testing"
    12  	gc "gopkg.in/check.v1"
    13  )
    14  
    15  func TestPackage(t *testing.T) {
    16  	gc.TestingT(t)
    17  }
    18  
    19  type ImportSuite struct{}
    20  
    21  var _ = gc.Suite(&ImportSuite{})
    22  
    23  func (*ImportSuite) TestImports(c *gc.C) {
    24  	found := coretesting.FindJujuCoreImports(c, "github.com/juju/juju/core/network")
    25  
    26  	// This package only brings in other core packages.
    27  	c.Assert(found, jc.SameContents, []string{})
    28  }