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: I219e2386aa957de3aafca7d76f3d0923e5fef1a9
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
This commit is contained in:
Sean McGinnis 2020-04-18 11:51:06 -05:00
parent 31587cf5d6
commit af465031f8
No known key found for this signature in database
GPG Key ID: CE7EE4BFAF8D70C8
2 changed files with 1 additions and 2 deletions

View File

@ -19,7 +19,7 @@ test_inventory
Tests for `inventory` module.
"""
import mock
from unittest import mock
from bifrost import inventory

View File

@ -12,5 +12,4 @@ testrepository>=0.0.18 # Apache-2.0/BSD
testscenarios>=0.4 # Apache-2.0/BSD
testtools>=2.2.0 # MIT
PyYAML>=3.12 # MIT
mock>=2.0.0 # BSD
Pygments>=2.2.0 # BSD license