~juju-qa/ubuntu/yakkety/juju/juju-1.25.8

« back to all changes in this revision

Viewing changes to src/github.com/juju/juju/api/action/package_test.go

  • Committer: Nicholas Skaggs
  • Date: 2016-12-02 17:28:37 UTC
  • Revision ID: nicholas.skaggs@canonical.com-20161202172837-jkrbdlyjcxtrii2n
Initial commit of 1.25.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// Copyright 2014 Canonical Ltd.
 
2
// Licensed under the AGPLv3, see LICENCE file for details.
 
3
 
 
4
package action_test
 
5
 
 
6
import (
 
7
        "testing"
 
8
 
 
9
        gc "gopkg.in/check.v1"
 
10
 
 
11
        "github.com/juju/juju/api/action"
 
12
        jujutesting "github.com/juju/juju/juju/testing"
 
13
        coretesting "github.com/juju/juju/testing"
 
14
)
 
15
 
 
16
func TestAll(t *testing.T) {
 
17
        coretesting.MgoTestPackage(t)
 
18
}
 
19
 
 
20
type baseSuite struct {
 
21
        jujutesting.JujuConnSuite
 
22
        client *action.Client
 
23
}
 
24
 
 
25
func (s *baseSuite) SetUpTest(c *gc.C) {
 
26
        s.JujuConnSuite.SetUpTest(c)
 
27
        s.client = action.NewClient(s.APIState)
 
28
}