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))
def test_get_project(db_session, awg_users): info = adm.get_project_info(db_session, "test_project_1") assert info["name"] == "test_project_1"