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

Update PyMongo tests for MongoClient

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 2.4, 2.4.1
    • Fix Version/s: 2.5
    • Component/s: None
    • Labels:
      None

      Description

      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'

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: