Skip to content

Commit e241b14

Browse files
committed
test/infamy: pep-8, minor whitespace
Signed-off-by: Joachim Wiberg <[email protected]>
1 parent 762ae77 commit e241b14

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/infamy/netns.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,10 +301,11 @@ class IsolatedMacVlan(IsolatedMacVlans):
301301
"""
302302
def __init__(self, parent, ifname="iface", lo=True, set_up=True):
303303
self._ifname = ifname
304-
return super().__init__(ifmap={ parent: ifname }, lo=lo, set_up=set_up)
304+
return super().__init__(ifmap={parent: ifname}, lo=lo, set_up=set_up)
305305

306306
def addip(self, addr, prefix_length=24, proto="ipv4"):
307-
return super().addip(ifname=self._ifname, addr=addr, prefix_length=prefix_length, proto=proto)
307+
return super().addip(ifname=self._ifname, addr=addr,
308+
prefix_length=prefix_length, proto=proto)
308309

309310
def must_receive(self, expr, timeout=None, ifname=None, must=True):
310311
ifname = ifname if ifname else self._ifname

0 commit comments

Comments
 (0)