@@ -0,0 +1,1219 @@
+# Licensed under the Apache License, Version 2.0 (the %22License%22); you may%0A# not use this file except in compliance with the License. You may obtain%0A# a copy of the License at%0A#%0A#      http://www.apache.org/licenses/LICENSE-2.0%0A#%0A# Unless required by applicable law or agreed to in writing, software%0A# distributed under the License is distributed on an %22AS IS%22 BASIS, WITHOUT%0A# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the%0A# License for the specific language governing permissions and limitations%0A# under the License.%0A%0Afrom tempest.lib import decorators%0A%0Afrom senlin.tests.tempest.api import base%0Afrom senlin.tests.tempest.common import constants%0A%0A%0Aclass TestProfileDelete(base.BaseSenlinTest):%0A%0A    @classmethod%0A    def resource_setup(cls):%0A        super(TestProfileDelete, cls).resource_setup()%0A        # Create profile%0A        cls.profile = cls.create_profile(constants.spec_nova_server)%0A%0A    @decorators.idempotent_id('ea3c1b9e-5ed7-4d63-84ce-2032c3bc6d27')%0A    def test_delete_policy(self):%0A        # Verify resp of policy delete API%0A        res = self.client.delete_obj('profiles', self.profile%5B'id'%5D)%0A        self.assertEqual(204, res%5B'status'%5D)%0A        self.assertIsNone(res%5B'body'%5D)%0A

Add API tests for profile delete