MockMonitor class does properly mock the MonitorBase API

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.10
    • Affects Version/s: 3.9
    • Component/s: Tests
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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 (Inactive)
              Reporter:
              Prashant Mital (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: