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

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

    • Type: Icon: Task Task
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Tests
    • None

      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.

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

              Created:
              Updated:
              Resolved: