Use unittest.mock instead of third party mock

We can now use the standard library mock library instead of the third
party one previously needed for py27 compatibility.

Change-Id: I6b80b62d8e3c8bd9432f567e0725c191cef6f715
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
This commit is contained in:
Sean McGinnis 2020-03-13 11:32:04 -05:00
parent 707a7c5be0
commit 9b9aabe74a
No known key found for this signature in database
GPG Key ID: CE7EE4BFAF8D70C8
2 changed files with 1 additions and 2 deletions

View File

@ -10,7 +10,7 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
import mock from unittest import mock
from reviewstats.tests import base from reviewstats.tests import base
from reviewstats import utils from reviewstats import utils

View File

@ -4,4 +4,3 @@ coverage>=3.6
fixtures>=0.3.14 fixtures>=0.3.14
python-subunit python-subunit
stestr>=2.0.0 stestr>=2.0.0
mock