Ejemplo n.º 1
0
def read_resource(file_name): return file_utils.read_file(os.path.join("default_implementation", file_name))


# ------------------------------------ REGEX SOURCES ------------------------------------
# The function names should be kept in line with the resource names + _request/_response.


def getPaymentProduct_request(request, test):
Ejemplo n.º 2
0
def _read_resource(file_name):
    return file_utils.read_file(os.path.join("log", file_name))
Ejemplo n.º 3
0
def read_resource(relative_path):
    return file_utils.read_file(os.path.join("payment", relative_path))
 def __read_resource(self, resource):
     output = file_utils.read_file(os.path.join("webhooks", resource))
     output = output.replace("\r", "")
     return str.encode(output)
Ejemplo n.º 5
0
def read_resource(relative_path):
    return file_utils.read_file(os.path.join("default_implementation",
                                             relative_path))
def _read_resource(file_name): return file_utils.read_file(
    os.path.join("log", file_name))


if __name__ == '__main__':
def read_resource(file_name):
    return file_utils.read_file(
        os.path.join("default_implementation", file_name))
Ejemplo n.º 8
0
def read_resource(relative_path): return file_utils.read_file(os.path.join("payment", relative_path))


if __name__ == '__main__':