def test_delete_class_video_comment_as_teacher(self):
     self.assertTrue(
         HasClassVideoCommentPermission.has_permission(
             self=self.mock,
             request=self.mock_teacher_request,
             view=self.mock_view_destroy,
         ))
 def test_update_class_video_comment_as_parent(self):
     self.assertFalse(
         HasClassVideoCommentPermission.has_permission(
             self=self.mock,
             request=self.mock_parent_request,
             view=self.mock_view_update,
         ))
 def test_delete_class_video_comment_as_school(self):
     self.assertFalse(
         HasClassVideoCommentPermission.has_permission(
             self=self.mock,
             request=self.mock_school_request,
             view=self.mock_view_destroy,
         ))
 def test_partial_update_class_video_comment_as_teacher(self):
     self.assertTrue(
         HasClassVideoCommentPermission.has_permission(
             self=self.mock,
             request=self.mock_teacher_request,
             view=self.mock_view_partial_update,
         ))