Add update and delete subnet operations :cool:
diff --git a/openstack/networking/v2/subnets/urls_tests.go b/openstack/networking/v2/subnets/urls_tests.go
index 336e2fe..eec5275 100644
--- a/openstack/networking/v2/subnets/urls_tests.go
+++ b/openstack/networking/v2/subnets/urls_tests.go
@@ -30,3 +30,15 @@
expected := Endpoint + "v2.0/subnets"
th.AssertEquals(t, expected, actual)
}
+
+func TestUpdateURL(t *testing.T) {
+ actual := UpdateURL(EndpointClient(), "foo")
+ expected := Endpoint + "v2.0/subnets/foo"
+ th.AssertEquals(t, expected, actual)
+}
+
+func TestDeleteURL(t *testing.T) {
+ actual := DeleteURL(EndpointClient(), "foo")
+ expected := Endpoint + "v2.0/subnets/foo"
+ th.AssertEquals(t, expected, actual)
+}