input: Write a function that creates a web scraper in Python to extract hotel reviews from TripAdvisor. The function should take a URL as input, make an HTTP request with appropriate headers, parse the HTML content using BeautifulSoup, and extract the title and text of each review. The function should then print the extracted data.
  
  assert extract_hotel_reviews('<example_tripadvisor_url>')
  # Expected output: 
  # Hotel Review Title 1
  # Review Text 1
  # --------------------------------------------------
  # Hotel Review Title 2
  # Review Text 2
  # --------------------------------------------------
  # Hotel Review Title 3
  # Review Text 3
  # --------------------------------------------------
output: def extract_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/58.0.3029.110 Safari/537.3'}
      response = requests.get(url, headers=headers)
      soup = BeautifulSoup(response.content, 'html.parser')
  
      reviews = soup.find_all('div', class_='review-container')
      for review in reviews:
          title = review.find('span', class_='noQuotes').text.strip()
          text = review.find('p', class_='partial_entry').text.strip()
          print(title)
          print(text)
          print('-' * 50)