diff --git a/tempest/api/compute/admin/test_instance_usage_audit_log.py b/tempest/api/compute/admin/test_instance_usage_audit_log.py index 32c8656ab2..055a1777df 100644 --- a/tempest/api/compute/admin/test_instance_usage_audit_log.py +++ b/tempest/api/compute/admin/test_instance_usage_audit_log.py @@ -14,10 +14,10 @@ # under the License. import datetime +import urllib from tempest.api.compute import base from tempest import test -import urllib class InstanceUsageAuditLogTestJSON(base.BaseV2ComputeAdminTest): diff --git a/tempest/api/compute/admin/test_instance_usage_audit_log_negative.py b/tempest/api/compute/admin/test_instance_usage_audit_log_negative.py index fe4a18413b..6a5fc9663e 100644 --- a/tempest/api/compute/admin/test_instance_usage_audit_log_negative.py +++ b/tempest/api/compute/admin/test_instance_usage_audit_log_negative.py @@ -14,11 +14,11 @@ # under the License. import datetime +import urllib from tempest.api.compute import base from tempest import exceptions from tempest import test -import urllib class InstanceUsageAuditLogNegativeTestJSON(base.BaseV2ComputeAdminTest): diff --git a/tempest/api/compute/admin/test_simple_tenant_usage.py b/tempest/api/compute/admin/test_simple_tenant_usage.py index cc8641fc43..33cd6f3dd4 100644 --- a/tempest/api/compute/admin/test_simple_tenant_usage.py +++ b/tempest/api/compute/admin/test_simple_tenant_usage.py @@ -14,10 +14,10 @@ # under the License. import datetime +import time from tempest.api.compute import base from tempest import test -import time class TenantUsagesTestJSON(base.BaseV2ComputeAdminTest): diff --git a/tempest/api/identity/admin/test_users_negative.py b/tempest/api/identity/admin/test_users_negative.py index 1188325b8e..4e8ebe5494 100644 --- a/tempest/api/identity/admin/test_users_negative.py +++ b/tempest/api/identity/admin/test_users_negative.py @@ -13,11 +13,12 @@ # License for the specific language governing permissions and limitations # under the License. +import uuid + from tempest.api.identity import base from tempest.common.utils import data_utils from tempest import exceptions from tempest.test import attr -import uuid class UsersNegativeTestJSON(base.BaseIdentityV2AdminTest): diff --git a/tempest/services/database/json/flavors_client.py b/tempest/services/database/json/flavors_client.py index 1a8a4c125f..2ec0405607 100644 --- a/tempest/services/database/json/flavors_client.py +++ b/tempest/services/database/json/flavors_client.py @@ -13,9 +13,10 @@ # License for the specific language governing permissions and limitations # under the License. +import urllib + from tempest.common import rest_client from tempest import config -import urllib CONF = config.CONF