Searched refs:actual (Results 1 – 5 of 5) sorted by relevance
/kernel/tests/net/test/ |
D | parameterization_test.py | 64 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))
|
D | multinetwork_base.py | 607 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)
|
D | ping6_test.py | 310 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:
|
D | xfrm_test.py | 85 actual = subprocess.check_output("ip xfrm state".split()) 88 actual = actual.replace( 91 self.assertMultiLineEqual(expected, actual)
|
D | sock_diag_test.py | 1051 actual = sorted([msg[0].id.sport for msg in diag_msgs]) 1052 self.assertEqual(expected, actual)
|