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

MockMonitor class does properly mock the MonitorBase API

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

      https://github.com/mongodb/mongo-python-driver/blob/228f7165703526b1b0da94f30769c2e3b29c0961/test/test_discovery_and_monitoring.py#L70

      The MockMonitor class has an unneeded remove_stale_sockets method and is missing the join method.

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

              Created:
              Updated:
              Resolved: