Fix import order in clustering tests
Remove tox filter Change-Id: Ife111995d939f8373637b1668be2f955b58c6189
This commit is contained in:

committed by
Artem Goncharov

parent
adcf98c21e
commit
b59cda5cfd
@@ -10,9 +10,9 @@
|
|||||||
# License for the specific language governing permissions and limitations
|
# License for the specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
|
from openstack.clustering import version
|
||||||
from openstack.tests.unit import base
|
from openstack.tests.unit import base
|
||||||
|
|
||||||
from openstack.clustering import version
|
|
||||||
|
|
||||||
IDENTIFIER = 'IDENTIFIER'
|
IDENTIFIER = 'IDENTIFIER'
|
||||||
EXAMPLE = {
|
EXAMPLE = {
|
||||||
|
@@ -10,9 +10,8 @@
|
|||||||
# License for the specific language governing permissions and limitations
|
# License for the specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
from openstack.tests.unit import base
|
|
||||||
|
|
||||||
from openstack.clustering.v1 import action
|
from openstack.clustering.v1 import action
|
||||||
|
from openstack.tests.unit import base
|
||||||
|
|
||||||
|
|
||||||
FAKE_CLUSTER_ID = 'ffaed25e-46f5-4089-8e20-b3b4722fd597'
|
FAKE_CLUSTER_ID = 'ffaed25e-46f5-4089-8e20-b3b4722fd597'
|
||||||
|
@@ -10,9 +10,8 @@
|
|||||||
# License for the specific language governing permissions and limitations
|
# License for the specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
from openstack.tests.unit import base
|
|
||||||
|
|
||||||
from openstack.clustering.v1 import build_info
|
from openstack.clustering.v1 import build_info
|
||||||
|
from openstack.tests.unit import base
|
||||||
|
|
||||||
|
|
||||||
FAKE = {
|
FAKE = {
|
||||||
|
@@ -10,9 +10,8 @@
|
|||||||
# License for the specific language governing permissions and limitations
|
# License for the specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
from openstack.tests.unit import base
|
|
||||||
|
|
||||||
from openstack.clustering.v1 import cluster_attr as ca
|
from openstack.clustering.v1 import cluster_attr as ca
|
||||||
|
from openstack.tests.unit import base
|
||||||
|
|
||||||
|
|
||||||
FAKE = {
|
FAKE = {
|
||||||
|
@@ -10,9 +10,8 @@
|
|||||||
# License for the specific language governing permissions and limitations
|
# License for the specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
from openstack.tests.unit import base
|
|
||||||
|
|
||||||
from openstack.clustering.v1 import cluster_policy
|
from openstack.clustering.v1 import cluster_policy
|
||||||
|
from openstack.tests.unit import base
|
||||||
|
|
||||||
|
|
||||||
FAKE = {
|
FAKE = {
|
||||||
|
@@ -10,9 +10,8 @@
|
|||||||
# License for the specific language governing permissions and limitations
|
# License for the specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
from openstack.tests.unit import base
|
|
||||||
|
|
||||||
from openstack.clustering.v1 import event
|
from openstack.clustering.v1 import event
|
||||||
|
from openstack.tests.unit import base
|
||||||
|
|
||||||
|
|
||||||
FAKE = {
|
FAKE = {
|
||||||
|
@@ -10,9 +10,8 @@
|
|||||||
# License for the specific language governing permissions and limitations
|
# License for the specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
from openstack.tests.unit import base
|
|
||||||
|
|
||||||
from openstack.clustering.v1 import policy
|
from openstack.clustering.v1 import policy
|
||||||
|
from openstack.tests.unit import base
|
||||||
|
|
||||||
|
|
||||||
FAKE_ID = 'ac5415bd-f522-4160-8be0-f8853e4bc332'
|
FAKE_ID = 'ac5415bd-f522-4160-8be0-f8853e4bc332'
|
||||||
|
@@ -10,9 +10,8 @@
|
|||||||
# License for the specific language governing permissions and limitations
|
# License for the specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
from openstack.tests.unit import base
|
|
||||||
|
|
||||||
from openstack.clustering.v1 import policy_type
|
from openstack.clustering.v1 import policy_type
|
||||||
|
from openstack.tests.unit import base
|
||||||
|
|
||||||
|
|
||||||
FAKE = {
|
FAKE = {
|
||||||
|
@@ -10,9 +10,8 @@
|
|||||||
# License for the specific language governing permissions and limitations
|
# License for the specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
from openstack.tests.unit import base
|
|
||||||
|
|
||||||
from openstack.clustering.v1 import profile
|
from openstack.clustering.v1 import profile
|
||||||
|
from openstack.tests.unit import base
|
||||||
|
|
||||||
|
|
||||||
FAKE_ID = '9b127538-a675-4271-ab9b-f24f54cfe173'
|
FAKE_ID = '9b127538-a675-4271-ab9b-f24f54cfe173'
|
||||||
|
@@ -10,9 +10,8 @@
|
|||||||
# License for the specific language governing permissions and limitations
|
# License for the specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
from openstack.tests.unit import base
|
|
||||||
|
|
||||||
from openstack.clustering.v1 import receiver
|
from openstack.clustering.v1 import receiver
|
||||||
|
from openstack.tests.unit import base
|
||||||
|
|
||||||
|
|
||||||
FAKE_ID = 'ae63a10b-4a90-452c-aef1-113a0b255ee3'
|
FAKE_ID = 'ae63a10b-4a90-452c-aef1-113a0b255ee3'
|
||||||
|
1
tox.ini
1
tox.ini
@@ -124,7 +124,6 @@ exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build,openstack/_services_mix
|
|||||||
per-file-ignores =
|
per-file-ignores =
|
||||||
openstack/tests/unit/block_storage/*:H306,I100,I201,I202
|
openstack/tests/unit/block_storage/*:H306,I100,I201,I202
|
||||||
openstack/tests/unit/cloud/*:H306,I100,I201,I202
|
openstack/tests/unit/cloud/*:H306,I100,I201,I202
|
||||||
openstack/tests/unit/clustering/*:H306,I100,I201,I202
|
|
||||||
|
|
||||||
[flake8:local-plugins]
|
[flake8:local-plugins]
|
||||||
extension =
|
extension =
|
||||||
|
Reference in New Issue
Block a user