def list_submissions_result(d2_submission=False):
    json_response = fileHandler.list_submissions(1,
                                                 10,
                                                 "mixed",
                                                 d2_submission=d2_submission)
    assert json_response.status_code == 200
    return json.loads(json_response.get_data().decode('UTF-8'))
def list_submissions_sort(category, order):
    json_response = fileHandler.list_submissions(1, 10, "mixed", category,
                                                 order)
    assert json_response.status_code == 200
    return json.loads(json_response.get_data().decode('UTF-8'))
def list_submissions_sort(category, order):
    json_response = fileHandler.list_submissions(1, 10, "mixed", category, order)
    assert json_response.status_code == 200
    return json.loads(json_response.get_data().decode('UTF-8'))
def list_submissions_result(is_fabs=False):
    json_response = fileHandler.list_submissions(1, 10, "mixed", is_fabs=is_fabs)
    assert json_response.status_code == 200
    return json.loads(json_response.get_data().decode('UTF-8'))