| 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 |  | 
|  | 8 | "github.com/rackspace/gophercloud/openstack/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 | } |