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: Id1f5f15e7d6c7edc5003f8f1947b7fb8ff783bbe Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
This commit is contained in:
parent
7bd04cf8bd
commit
98f7e150ad
|
@ -15,5 +15,4 @@ testscenarios>=0.4 # Apache-2.0/BSD
|
|||
testtools>=1.4.0 # MIT
|
||||
stestr>=2.0.0 # Apache-2.0
|
||||
fixtures>=3.0.0 # Apache-2.0/BSD
|
||||
mock>=2.0 # BSD
|
||||
|
||||
|
|
|
@ -14,9 +14,9 @@
|
|||
|
||||
import subprocess
|
||||
import sys
|
||||
from unittest import mock
|
||||
|
||||
import ddt
|
||||
import mock
|
||||
import testtools
|
||||
|
||||
from tripleo_repos import main
|
||||
|
|
Loading…
Reference in New Issue