-
-
Save ckinsey/d1aee8e17d7b94e42740 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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