Jon Perritt | 5a0ddd8 | 2015-02-09 17:07:21 -0700 | [diff] [blame] | 1 | // +build acceptance |
| 2 | |
| 3 | package v1 |
| 4 | |
| 5 | import ( |
| 6 | "testing" |
| 7 | |
| 8 | "github.com/rackspace/gophercloud/rackspace/orchestration/v1/buildinfo" |
| 9 | th "github.com/rackspace/gophercloud/testhelper" |
| 10 | ) |
| 11 | |
| 12 | func 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 | } |