

def test_components_put_not_found(self):
    updated_data = {
        'name': 'test_service_updated',
        'description': 'desc updated',
        'plan_uri': ('%s/v1/plans/%s' % (updated_json.client.base_url, 'not_found')),
        'assembly_uuid': 'not_found',
    }
    updated_json = json.dumps(updated_data)
    self.assertRaises(tempest_exceptions.NotFound, self.client.put, 'v1/components/not_found', updated_json)

dataset/ETHPy150Open openstack/solum/functionaltests/api/v1/test_component.py TestComponentController.test_components_put_not_found/VarMisuse@30/67 `self`->`updated_json`