github.com/mwhudson/juju@v0.0.0-20160512215208-90ff01f3497f/payload/component_test.go (about) 1 // Copyright 2015 Canonical Ltd. 2 // Licensed under the AGPLv3, see LICENCE file for details. 3 4 package payload_test 5 6 import ( 7 "github.com/juju/testing" 8 gc "gopkg.in/check.v1" 9 10 "github.com/juju/juju/payload" 11 ) 12 13 type componentSuite struct { 14 testing.IsolationSuite 15 } 16 17 var _ = gc.Suite(&componentSuite{}) 18 19 func (*componentSuite) TestComponentName(c *gc.C) { 20 // Are you really sure you want to change the component name? 21 c.Assert(payload.ComponentName, gc.Equals, "payloads") 22 }