def test_get_inactive_project_with_admin(self):
        user = UserFactory.create()

        project = ProjectFactory.create(
            add_admins=[user],
            **{'status': 'inactive'}
        )

        request = self.factory.get(
            project.id % '/api/projects/%s/')
        force_authenticate(request, user=user)
        view = SingleProject.as_view()
        response = view(request, project_id=project.id).render()

        self.assertEqual(response.status_code, 403)
dataset/ETHPy150Open ExCiteS/geokey/geokey/projects/tests/test_views.py/SingleProjectTest.test_get_inactive_project_with_admin/swapped operands of `%`