Use unittest.mock instead of third part 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: I7590895d9812f61fcf57c956a26f27d0d567613e
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
This commit is contained in:
Sean McGinnis 2020-03-13 11:51:49 -05:00
parent a007ca238b
commit 3b3bd43def
No known key found for this signature in database
GPG Key ID: CE7EE4BFAF8D70C8
2 changed files with 1 additions and 2 deletions

View File

@ -14,12 +14,12 @@
# License for the specific language governing permissions and limitations
# under the License.
import mock
import os
import os.path
import random
import shutil
import tempfile
from unittest import mock
import yaml
from os_net_config import objects

View File

@ -9,5 +9,4 @@ python-subunit>=0.0.18 # Apache-2.0/BSD
stestr>=2.0.0 # Apache-2.0
testscenarios>=0.4 # Apache-2.0/BSD
testtools>=1.4.0 # MIT
mock>=2.0 # BSD
reno>=2.5.0 # Apache-2.0