blob: 1b4866291636ec34efc493a343f9a43604916429 [file] [log] [blame]
Jon Perritt3440fd02015-02-09 16:05:49 -07001// +build acceptance
2
3package v1
4
5import (
6 "testing"
7
Jon Perritt27249f42016-02-18 10:35:59 -06008 "github.com/gophercloud/gophercloud/openstack/orchestration/v1/buildinfo"
9 th "github.com/gophercloud/gophercloud/testhelper"
Jon Perritt3440fd02015-02-09 16:05:49 -070010)
11
12func TestBuildInfo(t *testing.T) {
13 // Create a provider client for making the HTTP requests.
14 // See common.go in this directory for more information.
15 client := newClient(t)
16
17 bi, err := buildinfo.Get(client).Extract()
18 th.AssertNoErr(t, err)
19 t.Logf("retrieved build info: %+v\n", bi)
20}