Add live IPv6 answers tests

This commit is contained in:
gpotter2 2017-05-06 02:15:53 +02:00
parent f317c65042
commit 4e9f4e38ab
1 changed files with 8 additions and 0 deletions

View File

@ -1797,6 +1797,14 @@ b=IPv6(src="2047::deca", dst="2048::cafe")/ICMPv6EchoReply(id=0x6666, seq=0x7777
a=IPv6(src="2048::cafe", dst="2047::deca")/ICMPv6EchoRequest(id=0x6666, seq=0x7777, data="somedata")
(a > b) == True
= ICMPv6EchoRequest and ICMPv6EchoReply - live answers() use Net6
~ netaccess
a = IPv6(dst="www.google.fr")/ICMPv6EchoRequest()
b = IPv6(src="www.google.fr", dst=a.src)/ICMPv6EchoReply()
assert b.answers(a)
assert (a > b)
########### ICMPv6MRD* Classes ######################################