def METHOD_NAME(self):
    #expect
    expected_path_info = ("/")
    expected_journal = None
    expected_press = self.press
    expected_site_type = expected_press
    #do
    request = self.request_factory.get("/", SERVER_NAME="press.org")
    _response = self.middleware.process_request(request)
    #assert
    self.assertEqual(expected_journal, request.journal)
    self.assertEqual(expected_press, request.press)
    self.assertEqual(expected_site_type, request.site_type)