'Test with invalid order_direction (e.g. "asc")'

def test_invalid_order_direction(self):

    with self.assertRaises(ValidationError) as assertion:
        self.register_get_threads_response([], page=1, num_pages=0)
        get_thread_list(self.request, self.course.id, page=1, page_size=11, order_direction='asc').data
    self.assertIn('order_direction', assertion.exception.message_dict)
