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

     1  // Copyright 2018 Canonical Ltd.
     2  // Licensed under the AGPLv3, see LICENCE file for details.
     3  
     4  package presence_test
     5  
     6  import (
     7  	"testing"
     8  
     9  	gc "gopkg.in/check.v1"
    10  
    11  	coretesting "github.com/juju/juju/testing"
    12  )
    13  
    14  func TestPackage(t *testing.T) {
    15  	gc.TestingT(t)
    16  }
    17  
    18  type ImportTest struct{}
    19  
    20  var _ = gc.Suite(&ImportTest{})
    21  
    22  func (*ImportTest) TestImports(c *gc.C) {
    23  	found := coretesting.FindJujuCoreImports(c, "github.com/juju/juju/core/presence")
    24  
    25  	// This package brings in nothing else from juju/juju
    26  	c.Assert(found, gc.HasLen, 0)
    27  }