Lines Matching refs:expected
607 def assertPacketMatches(self, expected, actual): argument
620 expectedip = expected.getlayer("IP")
628 expectedipv6 = expected.getlayer("IPv6")
635 expectedudp = expected.getlayer("UDP")
652 expectedtcp = expected.getlayer("TCP")
667 expected_real = expected.__class__(str(expected))
674 def PacketMatches(self, expected, actual): argument
676 self.assertPacketMatches(expected, actual)
689 def ExpectPacketOn(self, netid, msg, expected): argument
693 ipv6 = expected.getlayer("IPv6")
704 if self.PacketMatches(expected, packet):
712 self.assertPacketMatches(expected, packets[-1])