Skip to content

Instantly share code, notes, and snippets.

@ckinsey

ckinsey/ebola.py Secret

Last active August 29, 2015 14:08
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ckinsey/d1aee8e17d7b94e42740 to your computer and use it in GitHub Desktop.
Save ckinsey/d1aee8e17d7b94e42740 to your computer and use it in GitHub Desktop.
from django.test import TestCase
class EbolaTestCase(TestCase):
"""
Extension of the Django test case to test
if any of your objects have ebola.
"""
def assertHasEbola(self, obj):
raise AssertionError(u'%s does not have ebola.' % obj)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment