Closed Bug 1614033 Opened 5 years ago Closed 5 years ago

switch to unittest.mock

Categories

(Socorro :: General, enhancement, P3)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: willkg, Assigned: willkg)

Details

Attachments

(1 file)

A long time ago, mock was a separate library. Then it got integrated into the unittest module.

We should switch from import mock to from unittest import mock since the separate library is now just a backport.

Making this a P3. It looks like it's a minor change across the codebase. It reduces an unneeded dependency. I'll see if it's a 15-minute fix and if so, just do it now.

Assignee: nobody → willkg
Status: NEW → ASSIGNED
Type: task → enhancement
Priority: -- → P3

Deployed in bug #1617605. Marking as FIXED.

Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: