def test_do_not_perform_anything_if_the_user_has_not_the_required_permission(self):
        # Setup
        self.user.groups.clear()
        correct_url = reverse('forum_tracking:mark_topics_read', kwargs={'pk': self.forum_2.pk})
        # Run
        response = self.client.get(correct_url, follow=True)
        # Check
        assert response.status_code == 403
dataset/ETHPy150Open ellmetha/django-machina/tests/functional/tracking/test_views.py/TestMarkTopicsReadView.test_do_not_perform_anything_if_the_user_has_not_the_required_permission/original