From bb19ba3eb6158d66dbbc32e29b50b4f924f9c6b3 Mon Sep 17 00:00:00 2001 From: Rached Ben Mustapha Date: Mon, 8 Mar 2010 16:43:43 +0100 Subject: [PATCH] Drop collection at the end of the test --- tests/fields.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/fields.py b/tests/fields.py index 80994b13..fc2edb2c 100644 --- a/tests/fields.py +++ b/tests/fields.py @@ -514,5 +514,7 @@ class FieldTest(unittest.TestCase): self.assertEqual(MIME_TYPE, attachment_1.content_type) self.assertEqual(BLOB, attachment_1.blob) + Attachment.drop_collection() + if __name__ == '__main__': unittest.main()