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

package instancetest

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

Index

Package Files

instance.go

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-01-05. Refresh now. Tools for package owners.