Fix: potential NameError bug in test case.
This commit is contained in:
parent
d21434dfd6
commit
f3da5bc092
@ -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.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user