

def test_tenant_routing(self):
    '\n        Request path should not be altered.\n        '
    request_url = '/any/request/'
    request = self.factory.get('/any/request/', HTTP_HOST=request_url.tenant_domain)
    self.tm.process_request(request)
    self.assertEquals(request.path_info, request_url)
    self.assertEquals(request.tenant, self.tenant)

dataset/ETHPy150Open bernardopires/django-tenant-schemas/tenant_schemas/tests/test_routes.py RoutesTestCase.test_tenant_routing/VarMisuse@28/61 `self`->`request_url`