summaryrefslogtreecommitdiff
path: root/nova/tests/unit/objects/test_security_group.py
diff options
context:
space:
mode:
Diffstat (limited to 'nova/tests/unit/objects/test_security_group.py')
-rw-r--r--nova/tests/unit/objects/test_security_group.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/nova/tests/unit/objects/test_security_group.py b/nova/tests/unit/objects/test_security_group.py
index 7d6a3773c5..527e5d84d6 100644
--- a/nova/tests/unit/objects/test_security_group.py
+++ b/nova/tests/unit/objects/test_security_group.py
@@ -12,7 +12,8 @@
# License for the specific language governing permissions and limitations
# under the License.
-import mock
+from unittest import mock
+
from oslo_utils.fixture import uuidsentinel as uuids
from oslo_versionedobjects import fixture as ovo_fixture