Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NetSys/bess
/ assertNotSamePackets
Method
assertNotSamePackets
bessctl/test_utils.py:183–186 ·
view source on GitHub ↗
(pkt1, pkt2)
Source
from the content-addressed store, hash-verified
181
182
@staticmethod
183
def
assertNotSamePackets(pkt1, pkt2):
184
if
pkt_str(pkt1) == pkt_str(pkt2):
185
raise
AssertionError(
186
'"%s" == "%s"'
% (pkt_str(pkt1), pkt_str(pkt2)))
187
188
def
assertBessAlive(self):
189
try
:
Callers
1
test_bypass
Method · 0.80
Calls
1
pkt_str
Function · 0.85
Tested by
no test coverage detected