juju: github.com/wallyworld/juju/environs/instances/instancetest Index | Files

package instancetest

import "github.com/wallyworld/juju/environs/instances/instancetest"


Package Files


func MatchInstances Uses

func MatchInstances(c *gc.C, result []instances.Instance, expected ...instances.Instance)

MatchInstances uses DeepEquals to check the instances returned. The lists are first put into a map, so the ordering of the result and expected values is not tested, and duplicates are ignored.

Package instancetest imports 3 packages (graph). Updated 2019-02-11. Refresh now. Tools for package owners.