input: Write a function to create a web scraper in Python that extracts hotel reviews from TripAdvisor. The function should take a URL as input, make a request to the URL using specific headers, parse the HTML content, and extract review titles and texts from the review containers. The function should return a list of tuples containing the title and text of each review.
  
  
  def scrape_hotel_reviews(url):
      import requests
      from bs4 import BeautifulSoup
      
      headers = {'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36'}
      response = requests.get(url, headers=headers)
      soup = BeautifulSoup(response.text, 'html.parser')
      reviews = soup.find_all('div', {'class': 'review-container'})
      
      review_list = []
      for review in reviews:
          title = review.find('span', {'class': 'noQuotes'}).text
          text = review.find('p', {'class': 'partial_entry'}).text
          review_list.append((title, text))
      
      return review_list
  
  assert scrape_hotel_reviews('<test-url>')==[('Amazing Stay', 'We had a wonderful time!'), ('Disappointing', 'The service was below expectations.')]
  assert scrape_hotel_reviews('<empty-url>')==[]
  assert scrape_hotel_reviews('<single-review-url>')==[('Great Experience', 'Loved the view from our room.')]
  
output: def scrape_hotel_reviews(url):
      import requests
      from bs4 import BeautifulSoup
      
      headers = {'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36'}
      response = requests.get(url, headers=headers)
      soup = BeautifulSoup(response.text, 'html.parser')
      reviews = soup.find_all('div', {'class': 'review-container'})
      
      review_list = []
      for review in reviews:
          title = review.find('span', {'class': 'noQuotes'}).text
          text = review.find('p', {'class': 'partial_entry'}).text
          review_list.append((title, text))
      
      return review_list