@@ -0,0 +1,1146 @@
+# 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 senlin.tests.functional import base%0A%0A%0Aclass TestProfileType(base.SenlinFunctionalTest):%0A%0A    def test_get_profile_types(self):%0A        # Check that listing profile types works.%0A        rel_url = 'profile_types'%0A        status = %5B200%5D%0A        resp = self.client.api_request('GET', rel_url,%0A                                       expected_resp_status=status)%0A        profile_types = resp.body%5B'profile_types'%5D%0A        expected_profile_types = %5B%7B'name': 'os.nova.server'%7D,%0A                                  %7B'name': 'os.heat.stack'%7D%5D%0A        self.assertEqual(expected_profile_types, profile_types)%0A

Add functional test for listing profile_type