blob: ba78cb635d9843f019c73a7908cea28e6a2608ab [file] [log] [blame]
Joe Topjian918f5732016-08-15 08:47:08 -06001// Package openstack contains common functions that can be used
2// across all OpenStack components for acceptance testing.
3package openstack
4
5import (
6 "testing"
7
8 "github.com/gophercloud/gophercloud/openstack/common/extensions"
9)
10
11// PrintExtension prints an extension and all of its attributes.
12func PrintExtension(t *testing.T, extension *extensions.Extension) {
13 t.Logf("Name: %s", extension.Name)
14 t.Logf("Namespace: %s", extension.Namespace)
15 t.Logf("Alias: %s", extension.Alias)
16 t.Logf("Description: %s", extension.Description)
17 t.Logf("Updated: %s", extension.Updated)
18 t.Logf("Links: %v", extension.Links)
19}