
from test_connection import get_connection


def teardown():
    c = get_connection()

    c.drop_database("pymongo-pooling-tests")
    c.drop_database("pymongo_test")
    c.drop_database("pymongo_test1")
    c.drop_database("pymongo_test2")
    c.drop_database("pymongo_test_mike")


from test_connection import get_connection


def teardown():
    c = get_connection()

    c.drop_database("pymongo-pooling-tests")
    c.drop_database("pymongo_test")
    c.drop_database("pymongo_test1")
    c.drop_database("pymongo_test2")
    c.drop_database("pymongo_test_mike")
    c.drop_database("pymongo_test_bernie")

Clean up all test dbs after test run.
Clean up all test dbs after test run.

  
  from test_connection import get_connection
  
  
  def teardown():
      c = get_connection()
  
      c.drop_database("pymongo-pooling-tests")
      c.drop_database("pymongo_test")
      c.drop_database("pymongo_test1")
      c.drop_database("pymongo_test2")
      c.drop_database("pymongo_test_mike")
+     c.drop_database("pymongo_test_bernie")
  
Clean up all test dbs after test run.
## Code Before:

from test_connection import get_connection


def teardown():
    c = get_connection()

    c.drop_database("pymongo-pooling-tests")
    c.drop_database("pymongo_test")
    c.drop_database("pymongo_test1")
    c.drop_database("pymongo_test2")
    c.drop_database("pymongo_test_mike")

## Instruction:
Clean up all test dbs after test run.
## Code After:

from test_connection import get_connection


def teardown():
    c = get_connection()

    c.drop_database("pymongo-pooling-tests")
    c.drop_database("pymongo_test")
    c.drop_database("pymongo_test1")
    c.drop_database("pymongo_test2")
    c.drop_database("pymongo_test_mike")
    c.drop_database("pymongo_test_bernie")
