Make imports proper order

We have a rule for imports order. That is:
 stdlib
 third-party lib
 project
 http://docs.openstack.org/developer/hacking/#imports
But some files are not correct. This patch fixes it.

Change-Id: I0031677e30dd70a07125d7a11bc93963db2b8ce3
This commit is contained in:
Masayuki Igawa 2014-03-10 11:05:54 +09:00
parent 1bcd29a368
commit 8648bae065
5 changed files with 7 additions and 5 deletions

View File

@ -14,10 +14,10 @@
# under the License. # under the License.
import datetime import datetime
import urllib
from tempest.api.compute import base from tempest.api.compute import base
from tempest import test from tempest import test
import urllib
class InstanceUsageAuditLogTestJSON(base.BaseV2ComputeAdminTest): class InstanceUsageAuditLogTestJSON(base.BaseV2ComputeAdminTest):

View File

@ -14,11 +14,11 @@
# under the License. # under the License.
import datetime import datetime
import urllib
from tempest.api.compute import base from tempest.api.compute import base
from tempest import exceptions from tempest import exceptions
from tempest import test from tempest import test
import urllib
class InstanceUsageAuditLogNegativeTestJSON(base.BaseV2ComputeAdminTest): class InstanceUsageAuditLogNegativeTestJSON(base.BaseV2ComputeAdminTest):

View File

@ -14,10 +14,10 @@
# under the License. # under the License.
import datetime import datetime
import time
from tempest.api.compute import base from tempest.api.compute import base
from tempest import test from tempest import test
import time
class TenantUsagesTestJSON(base.BaseV2ComputeAdminTest): class TenantUsagesTestJSON(base.BaseV2ComputeAdminTest):

View File

@ -13,11 +13,12 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
import uuid
from tempest.api.identity import base from tempest.api.identity import base
from tempest.common.utils import data_utils from tempest.common.utils import data_utils
from tempest import exceptions from tempest import exceptions
from tempest.test import attr from tempest.test import attr
import uuid
class UsersNegativeTestJSON(base.BaseIdentityV2AdminTest): class UsersNegativeTestJSON(base.BaseIdentityV2AdminTest):

View File

@ -13,9 +13,10 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
import urllib
from tempest.common import rest_client from tempest.common import rest_client
from tempest import config from tempest import config
import urllib
CONF = config.CONF CONF = config.CONF