flake8-import-order: Ensure to place project imports last
To ensure project imports are placed after third party import, we need to specify application-import-names. Previously flake8-import-check checked only standard imports or not. Change-Id: Iad7afa456cec7cf5b44955f1ea03c593a4c0e426
This commit is contained in:
		| @@ -13,11 +13,11 @@ | ||||
| import json | ||||
| import tempfile | ||||
|  | ||||
| from openstackclient.tests.functional import base | ||||
|  | ||||
| from tempest.lib.common.utils import data_utils | ||||
| from tempest.lib import exceptions | ||||
|  | ||||
| from openstackclient.tests.functional import base | ||||
|  | ||||
|  | ||||
| class KeypairBase(base.TestCase): | ||||
|     """Methods for functional tests.""" | ||||
|   | ||||
| @@ -10,9 +10,10 @@ | ||||
| #    License for the specific language governing permissions and limitations | ||||
| #    under the License. | ||||
|  | ||||
| from openstackclient.tests.functional.identity.v3 import common | ||||
| from tempest.lib.common.utils import data_utils | ||||
|  | ||||
| from openstackclient.tests.functional.identity.v3 import common | ||||
|  | ||||
|  | ||||
| class ServiceProviderTests(common.IdentityTests): | ||||
|     # Introduce functional test cases for command 'Service Provider' | ||||
|   | ||||
| @@ -13,12 +13,12 @@ | ||||
|  | ||||
| """Compute v2 API Library Tests""" | ||||
|  | ||||
| from keystoneclient import session | ||||
| from osc_lib import exceptions as osc_lib_exceptions | ||||
| from requests_mock.contrib import fixture | ||||
|  | ||||
| from keystoneclient import session | ||||
| from openstackclient.api import compute_v2 as compute | ||||
| from openstackclient.tests.unit import utils | ||||
| from osc_lib import exceptions as osc_lib_exceptions | ||||
|  | ||||
|  | ||||
| FAKE_PROJECT = 'xyzpdq' | ||||
|   | ||||
| @@ -14,8 +14,8 @@ | ||||
| import argparse | ||||
|  | ||||
| import mock | ||||
|  | ||||
| import openstack | ||||
|  | ||||
| from openstackclient.common import exceptions | ||||
| from openstackclient.network import common | ||||
| from openstackclient.tests.unit import utils | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Akihiro Motoki
					Akihiro Motoki