More reliable TestClientAuth.test_copy_db.

This commit is contained in:
A. Jesse Jiryu Davis 2014-11-06 22:18:04 -05:00
parent 0b7b51975e
commit 52f2314947

View File

@ -512,6 +512,7 @@ class TestClientAuth(unittest.TestCase):
authed_client.admin.add_user("admin", "password")
c.admin.authenticate("admin", "password")
c.drop_database("pymongo_test")
c.drop_database("pymongo_test1")
c.pymongo_test.test.insert({"foo": "bar"})