MCPcopy Create free account
hub / github.com/NetSys/bess / assertSamePackets

Method assertSamePackets

bessctl/test_utils.py:177–180  ·  view source on GitHub ↗
(pkt1, pkt2)

Source from the content-addressed store, hash-verified

175
176 @staticmethod
177 def assertSamePackets(pkt1, pkt2):
178 if pkt_str(pkt1) != pkt_str(pkt2):
179 raise AssertionError(
180 '"%s" != "%s"' % (pkt_str(pkt1), pkt_str(pkt2)))
181
182 @staticmethod
183 def assertNotSamePackets(pkt1, pkt2):

Callers 15

test_exactmatchMethod · 0.80
test_drr_singleMethod · 0.80
test_drr_batchMethod · 0.80
_vlan_output_testMethod · 0.80
test_arpMethod · 0.80
test_iplookupMethod · 0.80
test_decrementMethod · 0.80
test_dropMethod · 0.80
test_wildcardmatchMethod · 0.80
test_decapMethod · 0.80

Calls 1

pkt_strFunction · 0.85

Tested by

no test coverage detected