Example #1
0
def get_project(projectname):
    """
    Get the information related to a project
    from the userdatamodel database
    Returns a json object
    """
    return jsonify(admin.get_project_info(current_session, projectname))
Example #2
0
def test_get_project(db_session, awg_users):
    info = adm.get_project_info(db_session, "test_project_1")
    assert info["name"] == "test_project_1"