github.com/wallyworld/juju@v0.0.0-20161013125918-6cf1bc9d917a/payload/context/package_test.go (about)

     1  // Copyright 2015 Canonical Ltd.
     2  // Licensed under the AGPLv3, see LICENCE file for details.
     3  
     4  package context_test
     5  
     6  import (
     7  	"testing"
     8  
     9  	gc "gopkg.in/check.v1"
    10  
    11  	components "github.com/juju/juju/component/all"
    12  )
    13  
    14  func Test(t *testing.T) {
    15  	err := components.RegisterForServer()
    16  	if err != nil {
    17  		t.Fatalf("could not register server components: %v", err)
    18  	}
    19  
    20  	gc.TestingT(t)
    21  }