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

Update test-suite to use new URI/MongoClient option names

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Duplicate
    • None
    • None
    • Tests
    • None

    Description

      With the implementation of the URI options specification, many of the client options used in various places in the test-suite now raise DeprecationWarning. The tests should be updated to use the new option names.

      For example, ClientContext creates an SSL-enabled client by setting the ssl_certfile, ssl_ca_certs and ssl_cert_reqs kwarg options. ClientContext should be updated to use the modern-equivalents of these options: tlscertificatekeyfile, tlsCAFile, and tlsAllowInvalidCertificates.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              prashant.mital Prashant Mital (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: