def METHOD_NAME(self):
    user_timezone = "Europe/Madrid"
    browser_timezone = "Atlantic/Canary"
    user = Account.objects.get(email='regularuser@timezone.com')
    user.preferred_timezone = user_timezone
    user.save()
    request = self.request_factory.get("/test/", SERVER_NAME="press.org")
    request.session = {}
    request.session["janeway_timezone"] = browser_timezone
    request.user = user
    response = self.middleware.process_request(request)
    self.assertEqual(request.timezone.zone, user_timezone)