Skip to content

Commit 996a57c

Browse files
committed
Ensure test starts cleanly
1 parent 733fafe commit 996a57c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

test/test_binary.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ def test_legacy_java_uuid(self):
151151

152152
# Test insert and find
153153
conn = get_connection()
154+
conn.pymongo_test.drop_collection('java_uuid')
154155
coll = conn.pymongo_test.java_uuid
155156
coll.uuid_subtype = JAVA_LEGACY
156157

@@ -222,6 +223,7 @@ def test_legacy_csharp_uuid(self):
222223

223224
# Test insert and find
224225
conn = get_connection()
226+
conn.pymongo_test.drop_collection('csharp_uuid')
225227
coll = conn.pymongo_test.csharp_uuid
226228
coll.uuid_subtype = CSHARP_LEGACY
227229

0 commit comments

Comments
 (0)