예제 #1
0
def test_file_delete_succeed():
    context = Context(Flask.logger)
    result = FileService(context).delete('aaaa')
    assert type(result) == str
예제 #2
0
def logout():
    return AuthController(Context(app.logger)).logout(request)
예제 #3
0
def files_ocr():
    return OcrController(Context(app.logger)).execute(request)
예제 #4
0
def signup():
    return AuthController(Context(app.logger)).signup(request)
예제 #5
0
def files_upload():
    return FileController(Context(app.logger)).upload(request)