Fix import order in clustering tests

Remove tox filter

Change-Id: Ife111995d939f8373637b1668be2f955b58c6189
This commit is contained in:
Riccardo Pittau
2021-06-01 11:29:48 +02:00
committed by Artem Goncharov
parent adcf98c21e
commit b59cda5cfd
11 changed files with 10 additions and 20 deletions

View File

@@ -10,9 +10,9 @@
# License for the specific language governing permissions and limitations
# under the License.
from openstack.clustering import version
from openstack.tests.unit import base
from openstack.clustering import version
IDENTIFIER = 'IDENTIFIER'
EXAMPLE = {

View File

@@ -10,9 +10,8 @@
# License for the specific language governing permissions and limitations
# under the License.
from openstack.tests.unit import base
from openstack.clustering.v1 import action
from openstack.tests.unit import base
FAKE_CLUSTER_ID = 'ffaed25e-46f5-4089-8e20-b3b4722fd597'

View File

@@ -10,9 +10,8 @@
# License for the specific language governing permissions and limitations
# under the License.
from openstack.tests.unit import base
from openstack.clustering.v1 import build_info
from openstack.tests.unit import base
FAKE = {

View File

@@ -10,9 +10,8 @@
# License for the specific language governing permissions and limitations
# under the License.
from openstack.tests.unit import base
from openstack.clustering.v1 import cluster_attr as ca
from openstack.tests.unit import base
FAKE = {

View File

@@ -10,9 +10,8 @@
# License for the specific language governing permissions and limitations
# under the License.
from openstack.tests.unit import base
from openstack.clustering.v1 import cluster_policy
from openstack.tests.unit import base
FAKE = {

View File

@@ -10,9 +10,8 @@
# License for the specific language governing permissions and limitations
# under the License.
from openstack.tests.unit import base
from openstack.clustering.v1 import event
from openstack.tests.unit import base
FAKE = {

View File

@@ -10,9 +10,8 @@
# License for the specific language governing permissions and limitations
# under the License.
from openstack.tests.unit import base
from openstack.clustering.v1 import policy
from openstack.tests.unit import base
FAKE_ID = 'ac5415bd-f522-4160-8be0-f8853e4bc332'

View File

@@ -10,9 +10,8 @@
# License for the specific language governing permissions and limitations
# under the License.
from openstack.tests.unit import base
from openstack.clustering.v1 import policy_type
from openstack.tests.unit import base
FAKE = {

View File

@@ -10,9 +10,8 @@
# License for the specific language governing permissions and limitations
# under the License.
from openstack.tests.unit import base
from openstack.clustering.v1 import profile
from openstack.tests.unit import base
FAKE_ID = '9b127538-a675-4271-ab9b-f24f54cfe173'

View File

@@ -10,9 +10,8 @@
# License for the specific language governing permissions and limitations
# under the License.
from openstack.tests.unit import base
from openstack.clustering.v1 import receiver
from openstack.tests.unit import base
FAKE_ID = 'ae63a10b-4a90-452c-aef1-113a0b255ee3'

View File

@@ -124,7 +124,6 @@ exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build,openstack/_services_mix
per-file-ignores =
openstack/tests/unit/block_storage/*:H306,I100,I201,I202
openstack/tests/unit/cloud/*:H306,I100,I201,I202
openstack/tests/unit/clustering/*:H306,I100,I201,I202
[flake8:local-plugins]
extension =