MCPcopy Create free account
hub / github.com/FDio/vpp / main

Function main

test/test_ring_buffer_simple.py:201–214  ·  view source on GitHub ↗

Main function for standalone execution

()

Source from the content-addressed store, hash-verified

199
200
201def main():
202 """Main function for standalone execution"""
203 import unittest
204
205 # Create test suite
206 suite = unittest.TestSuite()
207 suite.addTest(unittest.makeSuite(TestRingBufferSimple))
208
209 # Run tests
210 runner = unittest.TextTestRunner(verbosity=2)
211 result = runner.run(suite)
212
213 # Return appropriate exit code
214 return 0 if result.wasSuccessful() else 1
215
216
217if __name__ == "__main__":

Callers 1

Calls 2

addTestMethod · 0.80
runMethod · 0.45

Tested by

no test coverage detected