def test_no_permission(self):
        self.user.user_permissions.remove(self.permission)
        response = self._get()
        self.assertEqual(response.status_code, 302)  # Redirects to login
Tender Complaint Document Read
dataset/ETHPy150Open caktus/django-timepiece/timepiece/reports/tests/test_productivity.py/TestProductivityReport.test_no_permission--crossover with--dataset/ETHPy150Open openprocurement/openprocurement.api/src/openprocurement/api/views/complaint_document.py/TenderComplaintDocumentResource.get