def test_tenant_routing(self):
        request_url = '/any/request/'
        request = self.factory.get('/any/request/',
                                   HTTP_HOST=self.tenant_domain)
        self.tm.process_request(request)

        self.assertEquals(request.path_info, request_url)

        # request.tenant should also have been set
        self.assertEquals(request.tenant, self.tenant)
Request path should not be altered.
dataset/ETHPy150Open bernardopires/django-tenant-schemas/tenant_schemas/tests/test_routes.py/RoutesTestCase.test_tenant_routing