Drop collection at the end of the test

This commit is contained in:
Rached Ben Mustapha 2010-03-08 16:43:43 +01:00
parent 879bf08d18
commit bb19ba3eb6

View File

@ -514,5 +514,7 @@ class FieldTest(unittest.TestCase):
self.assertEqual(MIME_TYPE, attachment_1.content_type) self.assertEqual(MIME_TYPE, attachment_1.content_type)
self.assertEqual(BLOB, attachment_1.blob) self.assertEqual(BLOB, attachment_1.blob)
Attachment.drop_collection()
if __name__ == '__main__': if __name__ == '__main__':
unittest.main() unittest.main()