diff --git a/doc/plan.org b/doc/plan.org index 992d585..a308f18 100644 --- a/doc/plan.org +++ b/doc/plan.org @@ -114,6 +114,7 @@ | 2019-03-21 | Meet Laurent #3 | | | | - My dog ate my homework | | | | - Router solicitation for finding router on startup! | | +| | - test.py for TDD | | | | | | | | | | | 2019-03-30 | NAT64 1:1 table ICMP, ICMPv6 working | | diff --git a/p4app/test.py b/p4app/test.py index 016047c..98918a6 100644 --- a/p4app/test.py +++ b/p4app/test.py @@ -16,12 +16,12 @@ class TestStuff(object): def __init__(self): pass - def test_icmp6_switch(self): + def test_ping6_switch(self): host = "h1" dst_ipv6 = ipaddress.ip_address("2001:db8::42") log.info("Trying to reach {} from {}".format(dst_ipv6, host)) - cmd = "mx h1 ping6 -c1 {}".format(dst_ipv6) + cmd = "mx h1 ping6 -c1 {}".format(dst_ipv6).split(" ") return cmd