Skip to content
Snippets Groups Projects
Commit 0c1b6c8a authored by Zuul's avatar Zuul Committed by Gerrit Code Review
Browse files

Merge "Use unittest.mock instead of PyPI mock"

parents 450e3d20 5648ad6e
No related branches found
No related tags found
No related merge requests found
...@@ -13,9 +13,9 @@ ...@@ -13,9 +13,9 @@
# under the License. # under the License.
import unittest import unittest
from unittest import mock
import jinja2 import jinja2
import mock
from kolla_ansible import exception from kolla_ansible import exception
from kolla_ansible import filters from kolla_ansible import filters
......
...@@ -39,7 +39,6 @@ keystoneauth1==3.4.0 ...@@ -39,7 +39,6 @@ keystoneauth1==3.4.0
linecache2==1.0.0 linecache2==1.0.0
MarkupSafe==1.0 MarkupSafe==1.0
mccabe==0.2.1 mccabe==0.2.1
mock==2.0.0
monotonic==1.4 monotonic==1.4
mox3==0.25.0 mox3==0.25.0
msgpack==0.5.6 msgpack==0.5.6
......
...@@ -19,11 +19,8 @@ import copy ...@@ -19,11 +19,8 @@ import copy
import imp import imp
import os import os
import sys import sys
from unittest import mock
try:
from unittest import mock
except ImportError:
import mock
from docker import errors as docker_error from docker import errors as docker_error
from docker.types import Ulimit from docker.types import Ulimit
from oslotest import base from oslotest import base
......
...@@ -16,9 +16,9 @@ ...@@ -16,9 +16,9 @@
import imp import imp
import os import os
import sys import sys
from unittest import mock
from io import StringIO from io import StringIO
import mock
from oslotest import base from oslotest import base
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment