Beispiel #1
0
func assertStorageTags(c *gc.C, a *storage.Attachments, tags ...names.StorageTag) {
	sTags, err := a.StorageTags()
	c.Assert(err, jc.ErrorIsNil)
	c.Assert(sTags, jc.SameContents, tags)
}
func assertStorageTags(c *gc.C, a *storage.Attachments, tags ...names.StorageTag) {
	c.Assert(a.StorageTags(), jc.SameContents, tags)
}