Rename test && fix return

This commit is contained in:
Nico Schottelius 2019-03-20 00:04:21 +01:00
parent 0fe1adda11
commit 87d4154753
2 changed files with 3 additions and 2 deletions

View File

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

View File

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