Home
last modified time | relevance | path

Searched refs:actual (Results 1 – 5 of 5) sorted by relevance

/kernel/tests/net/test/
Dparameterization_test.py64 actual = [name for name in dir(self) if name.startswith("testDummyFunc")]
67 self.assertEqual(len(expected), len(actual))
68 self.assertEqual(sorted(expected), sorted(actual))
Dmultinetwork_base.py607 def assertPacketMatches(self, expected, actual): argument
616 actual = actual.copy()
619 actualip = actual.getlayer("IP")
627 actualipv6 = actual.getlayer("IPv6")
634 actualudp = actual.getlayer("UDP")
651 actualtcp = actual.getlayer("TCP")
668 actual_real = actual.__class__(str(actual))
674 def PacketMatches(self, expected, actual): argument
676 self.assertPacketMatches(expected, actual)
Dping6_test.py310 def IsAlmostEqual(expected, actual, delta): argument
311 return abs(expected - actual) < delta
320 for actual in self.ReadProcNetSocket(name):
329 expected[3] = actual[3]
330 if expected == actual:
Dxfrm_test.py85 actual = subprocess.check_output("ip xfrm state".split())
88 actual = actual.replace(
91 self.assertMultiLineEqual(expected, actual)
Dsock_diag_test.py1051 actual = sorted([msg[0].id.sport for msg in diag_msgs])
1052 self.assertEqual(expected, actual)