def test_get_users(): logger.info("GET /users - Positive Test") response = get('/users') responseTest(response.status, 200) print (response.body)
def test_get_students(): logger.info("GET /students - Positive Test") response = get('/students') responseTest(response.status, 200) global student_key student_key = (response.body[0]['student_key']) print(response.body)
def test_get_students_key_include_appstatus_checklist_fafsa(): logger.info( "GET /students{student_key}include application_status,checklist,fafsa - Positive Test" ) response = get('/students/' + str(student_key) + '?include=application_status,checklist,fafsa') responseTest(response.status, 200) print(response.body)
def test_get_users_uid(): logger.info("GET /users/{ userUid } - Positive Test") response = get('/users/' + userid) responseTest(response.status, 200)