~juju-qa/ubuntu/xenial/juju/xenial-2.0-beta3

« back to all changes in this revision

Viewing changes to src/github.com/juju/juju/core/description/package_test.go

  • Committer: Martin Packman
  • Date: 2016-03-30 19:31:08 UTC
  • mfrom: (1.1.41)
  • Revision ID: martin.packman@canonical.com-20160330193108-h9iz3ak334uk0z5r
Merge new upstream source 2.0~beta3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// Copyright 2015 Canonical Ltd.
 
2
// Licensed under the AGPLv3, see LICENCE file for details.
 
3
 
 
4
package description
 
5
 
 
6
import (
 
7
        "testing"
 
8
 
 
9
        gc "gopkg.in/check.v1"
 
10
 
 
11
        coretesting "github.com/juju/juju/testing"
 
12
)
 
13
 
 
14
// Useful test constants.
 
15
 
 
16
// Constraints and CloudInstance store megabytes
 
17
const gig uint64 = 1024
 
18
 
 
19
// None of the tests in this package require mongo.
 
20
func TestPackage(t *testing.T) {
 
21
        gc.TestingT(t)
 
22
}
 
23
 
 
24
type ImportTest struct{}
 
25
 
 
26
var _ = gc.Suite(&ImportTest{})
 
27
 
 
28
func (*ImportTest) TestImports(c *gc.C) {
 
29
        found := coretesting.FindJujuCoreImports(c, "github.com/juju/juju/core/description")
 
30
 
 
31
        // This package brings in nothing else from juju/juju
 
32
        c.Assert(found, gc.HasLen, 0)
 
33
}