summaryrefslogtreecommitdiff
path: root/nova/tests/unit/servicegroup/test_db_servicegroup.py
diff options
context:
space:
mode:
Diffstat (limited to 'nova/tests/unit/servicegroup/test_db_servicegroup.py')
-rw-r--r--nova/tests/unit/servicegroup/test_db_servicegroup.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/nova/tests/unit/servicegroup/test_db_servicegroup.py b/nova/tests/unit/servicegroup/test_db_servicegroup.py
index 9e04451ec7..9f718e17b7 100644
--- a/nova/tests/unit/servicegroup/test_db_servicegroup.py
+++ b/nova/tests/unit/servicegroup/test_db_servicegroup.py
@@ -12,7 +12,8 @@
# License for the specific language governing permissions and limitations
# under the License.
-import mock
+from unittest import mock
+
import oslo_messaging as messaging
from oslo_utils import fixture as utils_fixture
from oslo_utils import timeutils