Making account files more consistent
diff --git a/openstack/objectstorage/v1/accounts/requests_test.go b/openstack/objectstorage/v1/accounts/requests_test.go
index 348f93e..ae9524f 100644
--- a/openstack/objectstorage/v1/accounts/requests_test.go
+++ b/openstack/objectstorage/v1/accounts/requests_test.go
@@ -2,6 +2,7 @@
import (
"net/http"
+ "reflect"
"testing"
"github.com/rackspace/gophercloud/testhelper"
@@ -42,3 +43,15 @@
t.Fatalf("Unable to get account metadata: %v", err)
}
}
+
+func TestExtractAccountMetadata(t *testing.T) {
+ getResult := &http.Response{}
+
+ expected := map[string]string{}
+
+ actual := ExtractMetadata(getResult)
+
+ if !reflect.DeepEqual(expected, actual) {
+ t.Errorf("Expected: %+v\nActual:%+v", expected, actual)
+ }
+}