Uploaded image for project: 'Motor'
  1. Motor
  2. MOTOR-457

Use unittest.mock for patching and mocking in tests

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

      Currently, we use homegrown utilities for patching properties and parameters in Motor's test suite. This should be replaced with the use of unittest.mock as that offers superior utilities for doing the same thing and ships in the standard library in Python 3.5+.

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

              Created:
              Updated: