old_contents: import pytest
  from web_test_base import *
  
  """
  A class to test new features without running all of the tests.
  
  Usage:
      py.test tests/test_test.py -rsx
  """
  class TestTest(WebTestBase):
      urls_to_get = [
          "http://iatistandard.org/"
          , "http://iatistandard.org/202/namespaces-extensions/"
      ]
      text_to_find = [
          ("technical publishing framework", '//*[@id="home-strapline"]/h1')
      ]
  
      @pytest.mark.parametrize("target_url", ["http://iatistandard.org/"])
      def test_locate_text(self, target_url):
          """
          Tests that each page contains lthe specified text at the required location.
          """
          req = self._loaded_request_from_url(target_url)
          text_to_find = "technical publishing framework"
          xpath_to_locate = '//*[@id="home-strapline"]/h1'
  
          result = self._get_text_from_xpath(req, xpath_to_locate)
  
          assert self._substring_in_list(text_to_find, result)
  
new_contents: import pytest
  from web_test_base import *
  
  """
  A class to test new features without running all of the tests.
  
  Usage:
      py.test tests/test_test.py -rsx
  """
  class TestTest(WebTestBase):
      urls_to_get = [
          "http://iatistandard.org/"
          , "http://iatistandard.org/202/namespaces-extensions/"
      ]
  
      @pytest.mark.parametrize("target_url", ["http://iatistandard.org/"])
      def test_locate_text(self, target_url):
          """
          Tests that each page contains lthe specified text at the required location.
          """
          req = self._loaded_request_from_url(target_url)
          text_to_find = "technical publishing framework"
          xpath_to_locate = '//*[@id="home-strapline"]/h1'
  
          result = self._get_text_from_xpath(req, xpath_to_locate)
  
          assert self._substring_in_list(text_to_find, result)
  
subject: Remove old code