Fix import order in orchestration tests
Remove tox filter Change-Id: I397c715192ac4e47cfe867df22323d30581ba1aa
This commit is contained in:
parent
b86d3a8c3b
commit
adcf98c21e
|
@ -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.orchestration import version
|
||||||
from openstack.tests.unit import base
|
from openstack.tests.unit import base
|
||||||
|
|
||||||
from openstack.orchestration import version
|
|
||||||
|
|
||||||
IDENTIFIER = 'IDENTIFIER'
|
IDENTIFIER = 'IDENTIFIER'
|
||||||
EXAMPLE = {
|
EXAMPLE = {
|
||||||
|
|
|
@ -9,10 +9,11 @@
|
||||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
# 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 testscenarios import load_tests_apply_scenarios as load_tests # noqa
|
|
||||||
|
|
||||||
from unittest import mock
|
from unittest import mock
|
||||||
|
|
||||||
|
from testscenarios import load_tests_apply_scenarios as load_tests # noqa
|
||||||
|
|
||||||
from openstack import exceptions
|
from openstack import exceptions
|
||||||
from openstack.orchestration.v1 import _proxy
|
from openstack.orchestration.v1 import _proxy
|
||||||
from openstack.orchestration.v1 import resource
|
from openstack.orchestration.v1 import resource
|
||||||
|
|
|
@ -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.orchestration.v1 import resource
|
from openstack.orchestration.v1 import resource
|
||||||
|
from openstack.tests.unit import base
|
||||||
|
|
||||||
|
|
||||||
FAKE_ID = '32e39358-2422-4ad0-a1b5-dd60696bf564'
|
FAKE_ID = '32e39358-2422-4ad0-a1b5-dd60696bf564'
|
||||||
|
|
|
@ -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.orchestration.v1 import software_config
|
from openstack.orchestration.v1 import software_config
|
||||||
|
from openstack.tests.unit import base
|
||||||
|
|
||||||
|
|
||||||
FAKE_ID = 'ce8ae86c-9810-4cb1-8888-7fb53bc523bf'
|
FAKE_ID = 'ce8ae86c-9810-4cb1-8888-7fb53bc523bf'
|
||||||
|
|
|
@ -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.orchestration.v1 import software_deployment
|
||||||
from openstack.tests.unit import base
|
from openstack.tests.unit import base
|
||||||
|
|
||||||
from openstack.orchestration.v1 import software_deployment
|
|
||||||
|
|
||||||
FAKE = {
|
FAKE = {
|
||||||
'id': 'ce8ae86c-9810-4cb1-8888-7fb53bc523bf',
|
'id': 'ce8ae86c-9810-4cb1-8888-7fb53bc523bf',
|
||||||
|
|
|
@ -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.orchestration.v1 import stack_environment as se
|
from openstack.orchestration.v1 import stack_environment as se
|
||||||
|
from openstack.tests.unit import base
|
||||||
|
|
||||||
|
|
||||||
FAKE = {
|
FAKE = {
|
||||||
|
|
|
@ -11,9 +11,9 @@
|
||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
import copy
|
import copy
|
||||||
from openstack.tests.unit import base
|
|
||||||
|
|
||||||
from openstack.orchestration.v1 import stack_template
|
from openstack.orchestration.v1 import stack_template
|
||||||
|
from openstack.tests.unit import base
|
||||||
|
|
||||||
|
|
||||||
FAKE = {
|
FAKE = {
|
||||||
|
|
1
tox.ini
1
tox.ini
|
@ -125,7 +125,6 @@ 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
|
openstack/tests/unit/clustering/*:H306,I100,I201,I202
|
||||||
openstack/tests/unit/orchestration/*:H306,I100,I201,I202
|
|
||||||
|
|
||||||
[flake8:local-plugins]
|
[flake8:local-plugins]
|
||||||
extension =
|
extension =
|
||||||
|
|
Loading…
Reference in New Issue