old_contents: """
  Test fixtures.
  
  :copyright: (c) 2017 Derek M. Frank
  :license: MPL-2.0
  
  """
  from flask import Flask  # type: ignore
  
  
  def test_simple_app(app):
      """Verify basic application."""
      assert isinstance(app, Flask)
  
  
  def test_simple_config(config):
      """Verify basic application configuration."""
      assert isinstance(config, dict)
  
  
  def test_webdriver_current_url(webdriver):
      """
      Verify data URL.
  
      Chrome: 'data:,'
      Firefox: 'about:blank'
  
      """
      assert webdriver.current_url in ['data:,', 'about:blank']
  
  
  def test_webdriver_valid_service(webdriver, services=('chrome', 'firefox')):
      """Make sure valid service is being used."""
      assert webdriver.name in services
  
  
  def test_webdriver_get_google(webdriver):
      """If google is down, something bad has happened."""
      webdriver.get('http://google.com/')
      assert 'Google' in webdriver.title
  
  
  def test_page_proxies_webdriver(page):
      """Verify webdriver proxying."""
      assert page.title == page.driver.title
      assert page.current_url == page.driver.current_url
      assert page.get == page.driver.get
  
new_contents: """
  Test fixtures.
  
  :copyright: (c) 2017 Derek M. Frank
  :license: MPL-2.0
  
  """
  from flask import Flask  # type: ignore
  
  
  def test_simple_app(app):
      """Verify basic application."""
      assert isinstance(app, Flask)
  
  
  def test_simple_config(config):
      """Verify basic application configuration."""
      assert isinstance(config, dict)
  
  
  def test_webdriver_current_url(webdriver):
      """
      Verify data URL.
  
      Chrome: 'data:,'
      Firefox: 'about:blank'
  
      """
      assert webdriver.name in ['chrome', 'firefox']
      assert webdriver.current_url in ['data:,', 'about:blank']
  
  
  def test_webdriver_get_google(webdriver):
      """If google is down, something bad has happened."""
      webdriver.get('http://google.com/')
      assert 'Google' in webdriver.title
  
  
  def test_page_proxies_webdriver(page):
      """Verify webdriver proxying."""
      assert page.title == page.driver.title
      assert page.current_url == page.driver.current_url
      assert page.get == page.driver.get
  
subject: Merge fixture tests to reduce live servers and time