Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-451

Update PyMongo tests for MongoClient

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.5
    • Affects Version/s: 2.4, 2.4.1
    • Component/s: None
    • Labels:
      None

      Update the test suite

      *) DONE: test MongoClient instead of Connection, except for a few specific tests to make sure Connection still works

      *) DONE: get_client() instead of get_connection()

      *) DONE: rename test_connection to test_mongo_client or test_client

      *) DONE: rename TestConnection to TestMongoClient or TestClient

      *) DONE: rename other stray identifiers that refer to 'connection' where they now mean 'client'

      *) DONE: fix all the tests that rely on the old defaults for 'safe' and 'auto_start_request'

            Assignee:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Reporter:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: