diff options
author | Neale Ranns <nranns@cisco.com> | 2017-02-03 06:14:49 -0800 |
---|---|---|
committer | Damjan Marion <dmarion.lists@gmail.com> | 2017-02-03 15:21:32 +0000 |
commit | 5737d88fd969f6eb45ffc6da95aacb9cabbbb256 (patch) | |
tree | f0dd1eae0787bbeefff3953ccbb528798f48df48 /test | |
parent | 9bea8fb0b0b6377fbead21f4ff6bceb50080329e (diff) |
pep8 compliance for test_ip6.py
Change-Id: If29a1eba3e7056903978de782c062589bec0137e
Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/test_ip6.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test_ip6.py b/test/test_ip6.py index e188970a..fb5383cf 100644 --- a/test/test_ip6.py +++ b/test/test_ip6.py @@ -16,6 +16,7 @@ from scapy.utils6 import in6_getnsma, in6_getnsmac, in6_ptop, in6_islladdr, \ in6_mactoifaceid, in6_ismaddr from scapy.utils import inet_pton, inet_ntop + def mk_ll_addr(mac): euid = in6_mactoifaceid(mac) addr = "fe80::" + euid @@ -291,7 +292,7 @@ class TestIPv6(VppTestCase): if not dst_ip: dst_ip = intf.remote_ip6 - # unicasted packets must come to the unicast mac + # unicasted packets must come to the unicast mac self.assertEqual(rx[Ether].dst, intf.remote_mac) # and from the router's MAC @@ -307,7 +308,6 @@ class TestIPv6(VppTestCase): self.assertEqual(in6_ptop(rx[IPv6].src), in6_ptop(mk_ll_addr(intf.local_mac))) - def send_and_expect_ra(self, intf, pkts, remark, dst_ip=None, filter_out_fn=is_ipv6_misc): intf.add_stream(pkts) @@ -416,7 +416,7 @@ class TestIPv6(VppTestCase): filter_out_fn=None) # - # Reset the periodic advertisements back to default values + # Reset the periodic advertisements back to default values # self.pg0.ip6_ra_config(no=1, suppress=1, send_unicast=0) |