old_contents: from selenium import webdriver
  
  browser = webdriver.Firefox()
  browser.get('http://localhost:8000')
  
  assert 'Django' in browser.title
  
new_contents: from selenium import webdriver
  import unittest
  
  class NewVisitorTest(unittest.TestCase):
  
      def setUp(self):
          self.browser = webdriver.Firefox()
  
      def tearDown(self):
          self.browser.quit()
  
      def test_can_create_node_and_retrieve_it_later(self):
  
          self.browser.get('http://localhost:8000')
  
          self.assertIn('Collator', self.browser.title)
          self.fail('Finish the test!')
  
  if __name__ == '__main__':
      unittest.main(warnings='ignore')
  
  
subject: add unit test to functional_tests.py