'The request has correct `site` attribute.'

def test_old_style_request(self):

    middleware = CurrentSiteMiddleware()
    request = HttpRequest()
    middleware.process_request(request)
    self.assertEqual(request.site.id, settings.SITE_ID)
