summaryrefslogtreecommitdiff
path: root/oslo_vmware/tests/test_api.py
diff options
context:
space:
mode:
Diffstat (limited to 'oslo_vmware/tests/test_api.py')
-rw-r--r--oslo_vmware/tests/test_api.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/oslo_vmware/tests/test_api.py b/oslo_vmware/tests/test_api.py
index 298aabd..499436d 100644
--- a/oslo_vmware/tests/test_api.py
+++ b/oslo_vmware/tests/test_api.py
@@ -14,16 +14,15 @@
# License for the specific language governing permissions and limitations
# under the License.
-"""
-Unit tests for session management and API invocation classes.
-"""
+"""Unit tests for session management and API invocation classes."""
from datetime import datetime
+from unittest import mock
+
from eventlet import greenthread
-import mock
+from oslo_context import context
import suds
-from oslo_context import context
from oslo_vmware import api
from oslo_vmware import exceptions
from oslo_vmware import pbm