'Assert the status and order of the grade requirement.'

def assert_grade_requirement_status(self, expected_status, expected_order):

    req_status = api.get_credit_requirement_status(self.course_key, self.user, namespace='grade', name='grade')
    self.assertEqual(req_status[0]['status'], expected_status)
    self.assertEqual(req_status[0]['order'], expected_order)
    return req_status
