MCPcopy Create free account
hub / github.com/EmbeddedRPC/erpc / CommonTestServiceHandler

Class CommonTestServiceHandler

test/python_impl_tests/conftest.py:72–83  ·  view source on GitHub ↗

Common handler to stop and quit the server

Source from the content-addressed store, hash-verified

70
71
72class CommonTestServiceHandler(test_unit_test_common.interface.ICommon):
73 """
74 Common handler to stop and quit the server
75 """
76
77 def quit(self):
78 global global_server
79 if global_server:
80 global_server.stop()
81
82 def getServerAllocated(self):
83 return 0
84
85
86###############################################################################

Callers 1

run_serverFunction · 0.85

Calls

no outgoing calls

Tested by 1

run_serverFunction · 0.68