def _get_method_name(self, type, use_param, qs, path):
        api_path = API_VERSION % '/compute/%s'
        project_path = '/projects/%s' % GCE_KEYWORD_PARAMS['project']
        path = path.replace(api_path, '')
        # This replace is separate, since there is a call with a different
        # project name
        path = path.replace(project_path, '')
        # The path to get project information is the base path, so use a fake
        # '/project' path instead
        if not path:
            path = '/project'
        method_name = super(GCEMockHttp, self)._get_method_name(type,
                                                                use_param,
                                                                qs, path)
        return method_name
dataset/ETHPy150Open apache/libcloud/libcloud/test/compute/test_gce.py/GCEMockHttp._get_method_name/swapped operands of `%`