Removed python lint.

This commit is contained in:
Michael Lustfield 2018-08-28 02:07:29 -05:00 committed by Ch3LL
parent 6e4122592a
commit 1b096fbee6
No known key found for this signature in database
GPG key ID: 132B55A7C13EFA73
2 changed files with 7 additions and 7 deletions

View file

@ -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,

View file

@ -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'])