def test_allow_any(self): viewset = views.SupportTicketViewSet() self.assertIn(permissions.AllowAny, viewset.permission_classes)