Add pep8 job and fix pep8 issues
Adding a pep8 job in check and gate pipeline. This commit also fixes a few pep8 issues. Change-Id: I7688ce8a216eafc4d1b1c2082a7e1aad5b1d15fa
This commit is contained in:
parent
ccd448d86d
commit
7589cc2c37
@ -15,8 +15,8 @@
|
||||
import re
|
||||
|
||||
import netaddr
|
||||
from neutron_tempest_plugin.scenario import base
|
||||
from neutron_tempest_plugin.common import utils as common_utils
|
||||
from neutron_tempest_plugin.scenario import base
|
||||
from oslo_log import log
|
||||
from tempest import config
|
||||
|
||||
|
@ -20,7 +20,6 @@ from neutron_tempest_plugin.common import ssh
|
||||
from neutron_tempest_plugin import config
|
||||
from neutron_tempest_plugin.scenario import base
|
||||
from oslo_log import log as logging
|
||||
from tempest.lib.common import fixed_network
|
||||
from tempest.lib.common.utils import data_utils
|
||||
from tempest.lib import decorators
|
||||
from tempest.lib import exceptions
|
||||
@ -326,8 +325,8 @@ class VlanTransparencyDowntreamBaseTest(base.BaseTempestTestCase):
|
||||
sg_rule = self.create_pingable_secgroup_rule(
|
||||
self.security_group['id'], client=self.client)
|
||||
self.addCleanup(
|
||||
self.client.delete_security_group_rule,
|
||||
sg_rule['id'])
|
||||
self.client.delete_security_group_rule,
|
||||
sg_rule['id'])
|
||||
|
||||
|
||||
class MultiVlanTransparencyTest(VlanTransparencyDowntreamBaseTest):
|
||||
@ -441,8 +440,8 @@ class MultiPortVlanTransparencyTest(VlanTransparencyDowntreamBaseTest):
|
||||
sg_rule = self.create_pingable_secgroup_rule(
|
||||
self.security_group['id'], client=self.client)
|
||||
self.addCleanup(
|
||||
self.client.delete_security_group_rule,
|
||||
sg_rule['id'])
|
||||
self.client.delete_security_group_rule,
|
||||
sg_rule['id'])
|
||||
|
||||
self._check_remote_connectivity_vlan_second_port()
|
||||
|
||||
|
@ -14,9 +14,11 @@
|
||||
- whitebox-neutron-tempest-plugin-jobs
|
||||
check:
|
||||
jobs:
|
||||
- openstack-tox-pep8
|
||||
- whitebox-neutron-tempest-plugin-openvswitch
|
||||
- whitebox-neutron-tempest-plugin-ovn
|
||||
gate:
|
||||
jobs:
|
||||
- openstack-tox-pep8
|
||||
- whitebox-neutron-tempest-plugin-openvswitch
|
||||
- whitebox-neutron-tempest-plugin-ovn
|
||||
|
Loading…
x
Reference in New Issue
Block a user