Fix: potential NameError bug in test case.

This commit is contained in:
Vincent Driessen 2010-12-05 23:03:40 -08:00
parent d21434dfd6
commit f3da5bc092

View File

@ -502,7 +502,7 @@ class DocumentTest(unittest.TestCase):
try: try:
recipient.save(validate=False) recipient.save(validate=False)
except ValidationError: except ValidationError:
fail() self.fail()
def test_delete(self): def test_delete(self):
"""Ensure that document may be deleted using the delete method. """Ensure that document may be deleted using the delete method.