Jon Perritt | 3440fd0 | 2015-02-09 16:05:49 -0700 | [diff] [blame] | 1 | // +build acceptance |
| 2 | |
| 3 | package v1 |
| 4 | |
| 5 | import ( |
| 6 | "testing" |
| 7 | |
Krzysztof Szukiełojć | 24a29ce | 2017-05-07 14:24:02 +0200 | [diff] [blame] | 8 | "gerrit.mcp.mirantis.net/debian/gophercloud.git/openstack/orchestration/v1/buildinfo" |
| 9 | th "gerrit.mcp.mirantis.net/debian/gophercloud.git/testhelper" |
Jon Perritt | 3440fd0 | 2015-02-09 16:05:49 -0700 | [diff] [blame] | 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 | } |