MCPcopy Create free account
hub / github.com/secdev/scapy / TestSet

Class TestSet

scapy/tools/UTscapy.py:261–278  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

259
260
261class TestSet(TestClass):
262 def __init__(self, name):
263 self.name = name
264 self.tests = []
265 self.comments = ""
266 self.keywords = set()
267 self.crc = None
268 self.expand = 1
269
270 def add_test(self, test):
271 self.tests.append(test)
272 test.keywords.update(self.keywords)
273
274 def trunc(self, index):
275 self.tests = self.tests[:index]
276
277 def __iter__(self):
278 return self.tests.__iter__()
279
280
281class UnitTest(TestClass):

Callers 1

parse_campaign_fileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…