input: Write a function to extract hotel reviews from a specified TripAdvisor URL using Python. The function should return a list of dictionaries, where each dictionary contains the title and text of a review.
  
  
  assert fetch_hotel_reviews("<url>") == [
      {"title": "Great Stay!", "text": "Excellent service and great location."},
      {"title": "Very Disappointing", "text": "The room was not clean and the service was terrible."}
  ]
  assert fetch_hotel_reviews("<another_url>") == [
      {"title": "Good Experience", "text": "Friendly staff and nice atmosphere."},
      {"title": "Would Not Recommend", "text": "The amenities were outdated and the breakfast was poor."}
  ]
  
output: import requests
  from bs4 import BeautifulSoup
  
  def fetch_hotel_reviews(url):
      response = requests.get(url)
      soup = BeautifulSoup(response.content, 'html.parser')
      reviews = []
      for review in soup.find_all('div', class_='review-container'):
          title = review.find('span', class_='noQuotes').text
          text = review.find('p', class_='partial_entry').text
          reviews.append({"title": title, "text": text})
      return reviews