input: Write a function named scrape_tripadvisor_reviews that scrapes hotel reviews from TripAdvisor using the provided Python code and returns a list of dictionaries where each dictionary corresponds to a review containing the title and text.
  assert scrape_tripadvisor_reviews("<some_tripadvisor_url>") == [{"title": "Great Stay", "text": "We had a wonderful time."}, {"title": "Not Recommended", "text": "The service was terrible."}]
  assert scrape_tripadvisor_reviews("<another_tripadvisor_url>") == []
output: def scrape_tripadvisor_reviews(url):
      import requests
      from bs4 import BeautifulSoup
      
      response = requests.get(url)
      soup = BeautifulSoup(response.text, '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