// DeleteShareNetwork will delete a share network. An error will occur if
// the share network was unable to be deleted.
func DeleteShareNetwork(t *testing.T, client *gophercloud.ServiceClient, shareNetwork *sharenetworks.ShareNetwork) {
	err := sharenetworks.Delete(client, shareNetwork.ID).ExtractErr()
	if err != nil {
		t.Fatalf("Failed to delete share network %s: %v", shareNetwork.ID, err)

	t.Logf("Deleted share network: %s", shareNetwork.ID)
// Verifies that share network deletion works
func TestDelete(t *testing.T) {
	defer th.TeardownHTTP()


	res := sharenetworks.Delete(client.ServiceClient(), "fa158a3d-6d9f-4187-9ca5-abbb82646eb2")
	th.AssertNoErr(t, res.Err)