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

Test enterprise auth without using deprecated "authenticate" and "logout" methods

    • Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • Priority: Icon: Minor - P4 Minor - P4
    • 4.0
    • Affects Version/s: 3.5
    • Component/s: Tests
    • Labels:
      None

      Database.authenticate and Database.logout were deprecated in PyMongo 3.5 but they're still used in test_auth.py. I noticed because I run that file with Synchrotest to verify that Motor supports the same auth mechanisms that PyMongo does. Now that I'm deleting deprecated APIs like authenticate() and logout() from Motor (MOTOR-242) it's impossible to adapt test_auth.py to run with Motor.

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

              Created:
              Updated:
              Resolved: