Use unittest.mock instead of mock

The mock third party library was needed for mock support in py2
runtimes. Since we now only support py36 and later, we can use the
standard lib unittest.mock module instead.

Change-Id: I9aa78dcb6db582a624acd9f0fca32c84a0cc4584
This commit is contained in:
Hervé Beraud 2020-06-09 01:20:02 +02:00
parent 0b0dd66b2c
commit 58ca0d18aa

View File

@ -6,5 +6,4 @@ hacking>=3.0.1,<3.1.0 # Apache-2.0
bashate>=0.5.1 # Apache-2.0 bashate>=0.5.1 # Apache-2.0
coverage!=4.4,>=4.0 # Apache-2.0 coverage!=4.4,>=4.0 # Apache-2.0
mock>=2.0.0 # BSD
pylint==1.4.5 # GNU GPL v2 pylint==1.4.5 # GNU GPL v2