Use unittest.mock instead of third party mock

Now that we no longer support py27, we can use the standard library
unittest.mock module instead of the third party mock lib.

Change-Id: I792a17f4b2667713503e6bc10cfabed9905d8535
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
This commit is contained in:
Sean McGinnis 2020-03-31 14:15:15 -05:00
parent 0a0c99a42a
commit 60a157a09b
No known key found for this signature in database
GPG Key ID: CE7EE4BFAF8D70C8
3 changed files with 2 additions and 3 deletions

View File

@ -24,7 +24,6 @@ keystoneauth1==3.4.0
linecache2==1.0.0
MarkupSafe==1.0
mccabe==0.2.1
mock==2.0.0
monotonic==0.6
mox3==0.20.0
netaddr==0.7.18

View File

@ -21,8 +21,8 @@ import sys
import tempfile
import threading
import time
from unittest import mock
import mock
from oslo_config import cfg
from oslotest import base as test_base
import six

View File

@ -26,9 +26,9 @@ import stat
import subprocess
import sys
import tempfile
from unittest import mock
import fixtures
import mock
from oslotest import base as test_base
import six