diff --git a/api/package_test.go b/api/package_test.go index a6558f9188a..2609a48bd82 100644 --- a/api/package_test.go +++ b/api/package_test.go @@ -55,6 +55,10 @@ func (*ImportSuite) TestImports(c *gc.C) { "domain/secret/errors", "domain/secretbackend/errors", "environs/envcontext", + "internal/charm", + "internal/charm/assumes", + "internal/charm/hooks", + "internal/charm/resource", "internal/feature", "internal/logger", "internal/proxy", diff --git a/cmd/containeragent/initialize/package_test.go b/cmd/containeragent/initialize/package_test.go index 19f6e03205a..b0d28d73949 100644 --- a/cmd/containeragent/initialize/package_test.go +++ b/cmd/containeragent/initialize/package_test.go @@ -82,6 +82,10 @@ func (*importSuite) TestImports(c *gc.C) { "environs/config", "environs/envcontext", "environs/tags", + "internal/charm", + "internal/charm/assumes", + "internal/charm/hooks", + "internal/charm/resource", "internal/charmhub", "internal/charmhub/path", "internal/charmhub/transport", diff --git a/core/base/package_test.go b/core/base/package_test.go index 031a8c13ae9..23e1b44abc4 100644 --- a/core/base/package_test.go +++ b/core/base/package_test.go @@ -27,6 +27,10 @@ func (*ImportTest) TestImports(c *gc.C) { c.Assert(found, jc.SameContents, []string{ "core/logger", "core/os/ostype", + "internal/charm", + "internal/charm/assumes", + "internal/charm/hooks", + "internal/charm/resource", "internal/logger", }) } diff --git a/core/migration/package_test.go b/core/migration/package_test.go index b9e497b8550..6d7697e0f31 100644 --- a/core/migration/package_test.go +++ b/core/migration/package_test.go @@ -30,6 +30,7 @@ func (*ImportTest) TestImports(c *gc.C) { "core/logger", "core/network", "core/resources", + "internal/charm/resource", "internal/logger", }) } diff --git a/core/settings/package_test.go b/core/settings/package_test.go index fdf3edf7285..89e2c7064bb 100644 --- a/core/settings/package_test.go +++ b/core/settings/package_test.go @@ -24,5 +24,12 @@ func (*importSuite) TestImports(c *gc.C) { found := coretesting.FindJujuCoreImports(c, "github.com/juju/juju/core/settings") // This package only brings in other core packages. - c.Assert(found, jc.SameContents, []string{}) + c.Assert(found, jc.SameContents, []string{ + "core/logger", + "internal/charm", + "internal/charm/assumes", + "internal/charm/hooks", + "internal/charm/resource", + "internal/logger", + }) } diff --git a/core/watcher/eventsource/package_test.go b/core/watcher/eventsource/package_test.go index 093bdd801d8..f4bc7716319 100644 --- a/core/watcher/eventsource/package_test.go +++ b/core/watcher/eventsource/package_test.go @@ -44,6 +44,7 @@ func (*ImportTest) TestImports(c *gc.C) { "core/secrets", "core/status", "core/watcher", + "internal/charm/resource", "internal/logger", }) diff --git a/core/watcher/package_test.go b/core/watcher/package_test.go index 38ae6c9e858..f9c71769f96 100644 --- a/core/watcher/package_test.go +++ b/core/watcher/package_test.go @@ -32,6 +32,7 @@ func (s *ImportTest) TestImports(c *gc.C) { "core/resources", "core/secrets", "core/status", + "internal/charm/resource", "internal/logger", })