summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/objects/test_datastore.py2
-rw-r--r--tests/test_service.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/objects/test_datastore.py b/tests/objects/test_datastore.py
index 2d66ccf..157cd9a 100644
--- a/tests/objects/test_datastore.py
+++ b/tests/objects/test_datastore.py
@@ -13,9 +13,9 @@
# under the License.
import mock
+from oslo_utils import units
import six.moves.urllib.parse as urlparse
-from oslo.utils import units
from oslo.vmware import constants
from oslo.vmware.objects import datastore
from oslo.vmware import vim_util
diff --git a/tests/test_service.py b/tests/test_service.py
index c80ceab..43a5897 100644
--- a/tests/test_service.py
+++ b/tests/test_service.py
@@ -359,7 +359,7 @@ class MemoryCacheTest(base.TestCase):
cache2 = service.Service().client.options.cache
self.assertIs(cache1, cache2)
- @mock.patch('oslo.utils.timeutils.utcnow_ts')
+ @mock.patch('oslo_utils.timeutils.utcnow_ts')
def test_cache_timeout(self, mock_utcnow_ts):
mock_utcnow_ts.side_effect = [100, 125, 150, 175, 195, 200, 225]