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:
parent
a007ca238b
commit
3b3bd43def
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue