Apply import order in more tests

Remove corresponding filters from tox.ini

Change-Id: Ifa3741bafc88901f330bfc81d2d464fd54859dd8
This commit is contained in:
Riccardo Pittau
2021-03-17 11:55:31 +01:00
parent d376c4fc5c
commit 768a114c90
8 changed files with 8 additions and 12 deletions

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.database.v1 import database
from openstack.tests.unit import base
IDENTIFIER = 'NAME'

View File

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

View File

@@ -10,9 +10,9 @@
# License for the specific language governing permissions and limitations
# under the License.
from openstack.database.v1 import user
from openstack.tests.unit import base
from openstack.database.v1 import user
INSTANCE_ID = 'INSTANCE_ID'

View File

@@ -10,9 +10,9 @@
# License for the specific language governing permissions and limitations
# under the License.
from openstack.key_manager.v1 import container
from openstack.tests.unit import base
from openstack.key_manager.v1 import container
ID_VAL = "123"
IDENTIFIER = 'http://localhost/containers/%s' % ID_VAL

View File

@@ -10,9 +10,9 @@
# License for the specific language governing permissions and limitations
# under the License.
from openstack.key_manager.v1 import order
from openstack.tests.unit import base
from openstack.key_manager.v1 import order
ID_VAL = "123"
SECRET_ID = "5"

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.object_store.v1 import account
from openstack.tests.unit import base
CONTAINER_NAME = "mycontainer"

View File

@@ -9,7 +9,6 @@
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
from testscenarios import load_tests_apply_scenarios as load_tests # noqa
from hashlib import sha1
import random
@@ -18,6 +17,8 @@ import tempfile
import time
from unittest import mock
from testscenarios import load_tests_apply_scenarios as load_tests # noqa
from openstack.object_store.v1 import account
from openstack.object_store.v1 import container
from openstack.object_store.v1 import obj

View File

@@ -137,9 +137,6 @@ per-file-ignores =
openstack/tests/unit/network/*:H306,I100,I201,I202
openstack/tests/unit/image/*:H306,I100,I201,I202
openstack/tests/unit/dns/*:H306,I100,I201,I202
openstack/tests/unit/database/*:H306,I100,I201,I202
openstack/tests/unit/key_manager/*:H306,I100,I201,I202
openstack/tests/unit/object_store/*:H306,I100,I201,I202
[flake8:local-plugins]
extension =