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:
parent
31587cf5d6
commit
af465031f8
@ -19,7 +19,7 @@ test_inventory
|
||||
Tests for `inventory` module.
|
||||
"""
|
||||
|
||||
import mock
|
||||
from unittest import mock
|
||||
|
||||
from bifrost import inventory
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user