text: #-*- coding: utf-8 -*-
  import signal, unittest
  from datetime import datetime
  from date_extractor import *
  from inspect import getargspec
  from broth import Broth
  from requests import get
  
  class Test(unittest.TestCase):
  
      def testBroth(self):
          broth = Broth(get("http://danieljdufour.com/").text)
          self.assertTrue(broth != None)
  
      def testTables(self):
          broth = Broth(get("http://www.nuforc.org/webreports/ndxlAK.html").text)
          tables = broth.tables
          self.assertEqual(len(broth.tables), 1)
  
      def testText(self):
          text = Broth(get("http://danieljdufour.com/").text).text
          self.assertTrue(len(text) > 10)
  
      def testTitleString(self):
          title_string = Broth(get("http://danieljdufour.com/").text).title_string
          self.assertEqual(title_string, "Daniel J. Dufour")
   
          
  
  if __name__ == '__main__':
      unittest.main()
  