Merge branch 'personality' of https://github.com/doubledutch/gophercloud into personality
Conflicts:
openstack/compute/v2/servers/requests_test.go
diff --git a/openstack/compute/v2/servers/requests_test.go b/openstack/compute/v2/servers/requests_test.go
index 9e1f4cf..15bf9d3 100644
--- a/openstack/compute/v2/servers/requests_test.go
+++ b/openstack/compute/v2/servers/requests_test.go
@@ -328,6 +328,15 @@
th.CheckEquals(t, 1, pages)
}
+func TestCreateServerImage(t *testing.T) {
+ th.SetupHTTP()
+ defer th.TeardownHTTP()
+ HandleCreateServerImageSuccessfully(t)
+
+ _, err := CreateImage(client.ServiceClient(), "serverimage", CreateImageOpts{Name: "test"}).ExtractImageID()
+ th.AssertNoErr(t, err)
+}
+
func TestMarshalPersonality(t *testing.T) {
name := "/etc/test"
contents := []byte("asdfasdf")