mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Removed python lint.
This commit is contained in:
parent
6e4122592a
commit
1b096fbee6
2 changed files with 7 additions and 7 deletions
|
@ -420,7 +420,7 @@ DEBIAN_ATTR_TO_SALT_ATTR_MAP['hwaddress'] = 'hwaddress'
|
|||
|
||||
IPV4_VALID_PROTO = ['bootp', 'dhcp', 'static', 'manual', 'loopback', 'ppp']
|
||||
|
||||
IPV6_ATTR_MAP = {
|
||||
IPV4_ATTR_MAP = {
|
||||
'proto': __within(IPV4_VALID_PROTO, dtype=six.text_type),
|
||||
# ipv4 static & manual
|
||||
'address': __ipv4_quad,
|
||||
|
|
|
@ -221,9 +221,9 @@ class DebianIpTestCase(TestCase, LoaderModuleMockMixin):
|
|||
'ipv6ipaddr': '2001:db8:dead:beef::3',
|
||||
'ipv6netmask': '64',
|
||||
'ipv6gateway': '2001:db8:dead:beef::1',
|
||||
'ttl': '18', # shared
|
||||
'ipv6ttl': '15', # overriden for v6
|
||||
'mtu': '1480', # shared
|
||||
'ttl': '18', # shared
|
||||
'ipv6ttl': '15', # overriden for v6
|
||||
'mtu': '1480', # shared
|
||||
'enable_ipv6': True,
|
||||
'noifupdown': True,
|
||||
},
|
||||
|
@ -441,9 +441,9 @@ class DebianIpTestCase(TestCase, LoaderModuleMockMixin):
|
|||
# Skip tests that require __salt__['pkg.install']()
|
||||
if iface['iface_type'] not in ['bridge', 'pppoe', 'vlan']:
|
||||
self.assertListEqual(debian_ip.build_interface(
|
||||
iface = iface['iface_name'],
|
||||
iface_type = iface['iface_type'],
|
||||
enabled = iface['enabled'],
|
||||
iface=iface['iface_name'],
|
||||
iface_type=iface['iface_type'],
|
||||
enabled=iface['enabled'],
|
||||
**iface['settings']),
|
||||
iface['return'])
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue