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

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Duplicate
    • Priority: Minor - P4
    • 4.0
    • Affects Version/s: 3.5
    • Component/s: Tests
    • None
    • None
    • None
    • None
    • None
    • None
    • 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
              Reporter:
              A. Jesse Jiryu Davis
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: