

def test_components_get(self):
    (uuid, assembly_uuid, plan_uuid) = json_data._create_component()
    sample_data['plan_uri'] = ('%s/v1/plans/%s' % (self.client.base_url, plan_uuid))
    (resp, body) = self.client.get(('v1/components/%s' % uuid))
    self.assertEqual(resp.status, 200)
    json_data = json.loads(body)
    self._assert_output_expected(json_data, sample_data)
    self._delete_component(uuid)

dataset/ETHPy150Open openstack/solum/functionaltests/api/v1/test_component.py TestComponentController.test_components_get/VarMisuse@18/27 `self`->`json_data`