'Remove/endorse resource by a student'

@data({'handler': 'remove_resource', 'status': 400}, {'handler': 'endorse_resource', 'status': 400})
def test_remove_or_endorse_resource_by_student(self, test_case):

    self.logout()
    self.enroll_student(self.STUDENTS[0]['email'], self.STUDENTS[0]['password'])
    resource = {'id': self.resource_id, 'reason': ''}
    self.check_event_response_by_http_status(test_case['handler'], resource, test_case['status'])
