MCPcopy Create free account
hub / github.com/bugy/script-server / __init__

Method __init__

src/tests/test_utils.py:549–555  ·  view source on GitHub ↗
(self, executor, command, working_directory, env_variables)

Source from the content-addressed store, hash-verified

547
548class _MockProcessWrapper(ProcessWrapper):
549 def __init__(self, executor, command, working_directory, env_variables):
550 super().__init__(command, working_directory, env_variables)
551
552 self.exit_code = None
553 self.finished = False
554 self.process_id = int.from_bytes(uuid.uuid1().bytes, byteorder='big')
555 self.finish_condition = threading.Condition()
556
557 def get_process_id(self):
558 return self.process_id

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected