Commits

Steve Losh committed e955e83

Add some simple docstrings for the tests.

  • Participants
  • Parent commits 1132984

Comments (0)

Files changed (1)

File hoptoad/tests.py

     """Basic tests like setup and connectivity."""
     
     def test_api_key_present(self):
+        """Test to make sure an API key is present."""
         self.assertTrue('HOPTOAD_API_KEY' in settings.get_all_members(),
             msg='The HOPTOAD_API_KEY setting is not present.')
         self.assertTrue(settings.HOPTOAD_API_KEY,
             msg='The HOPTOAD_API_KEY setting is blank.')
     
     def test_hoptoad_connectivity(self):
+        """Test to make sure hoptoadapp.com can be reached at all."""
         try:
             ht = urllib2.urlopen('http://hoptoadapp.com/')
         except urllib2.HTTPError: