juju: github.com/juju/juju/apiserver/facades/agent/meterstatus/testing Index | Files

package testing

import "github.com/juju/juju/apiserver/facades/agent/meterstatus/testing"


Package Files


func TestGetMeterStatus Uses

func TestGetMeterStatus(c *gc.C, status meterstatus.MeterStatus, unit *jujustate.Unit)

TestGetMeterStatus tests unit meter status retrieval.

func TestWatchMeterStatus Uses

func TestWatchMeterStatus(c *gc.C, status meterstatus.MeterStatus, unit *jujustate.Unit, state *jujustate.State, resources *common.Resources)

TestWatchMeterStatus tests the meter status watcher functionality.

Package testing imports 8 packages (graph). Updated 2017-07-13. Refresh now. Tools for package owners. This is an inactive package (no imports and no commits in at least two years).