~ubuntu-branches/ubuntu/vivid/juju-core/vivid-proposed

« back to all changes in this revision

Viewing changes to src/github.com/juju/juju/state/environcapability_test.go

  • Committer: Package Import Robot
  • Author(s): Curtis C. Hovey
  • Date: 2015-09-29 19:43:29 UTC
  • mfrom: (47.1.4 wily-proposed)
  • Revision ID: package-import@ubuntu.com-20150929194329-9y496tbic30hc7vp
Tags: 1.24.6-0ubuntu1~15.04.1
Backport of 1.24.6 from wily. (LP: #1500916, #1497087)

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
 
13
13
        "github.com/juju/juju/environs/config"
14
14
        "github.com/juju/juju/instance"
15
 
        "github.com/juju/juju/network"
16
15
        "github.com/juju/juju/state"
17
16
)
18
17
 
31
30
        panic("unused")
32
31
}
33
32
 
34
 
func (e *mockEnvironCapability) SupportAddressAllocation(netId network.Id) (bool, error) {
35
 
        panic("unused")
36
 
}
37
 
 
38
 
func (p *mockEnvironCapability) SupportNetworks() bool {
39
 
        panic("unused")
40
 
}
41
 
 
42
33
func (p *mockEnvironCapability) SupportsUnitPlacement() error {
43
34
        return p.supportsUnitPlacementError
44
35
}