1. Mahmoud Abdelkader
  2. django-hoptoad

Commits

Steve Losh  committed 775d9cb

Fix the unit tests.

fixes issue 13

  • Participants
  • Parent commits 2dda1a7
  • Branches default

Comments (0)

Files changed (1)

File hoptoad/tests.py

View file
     
     def test_api_key_present(self):
         """Test to make sure an API key is present."""
-        self.assertTrue('HOPTOAD_API_KEY' in dir(settings)
+        self.assertTrue('HOPTOAD_API_KEY' in dir(settings),
             msg='The HOPTOAD_API_KEY setting is not present.')
         self.assertTrue(settings.HOPTOAD_API_KEY,
             msg='The HOPTOAD_API_KEY setting is blank.')