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

Method finish

src/tests/test_utils.py:561–564  ·  view source on GitHub ↗
(self, exit_code)

Source from the content-addressed store, hash-verified

559
560 # method for tests
561 def finish(self, exit_code):
562 if self.is_finished():
563 raise Exception('Cannot finish a script twice')
564 self.__finish(exit_code)
565
566 # method for tests
567 def write_output(self, output):

Callers 4

test_logging_valuesMethod · 0.80
test_exit_codeMethod · 0.80
test_exit_codeMethod · 0.80

Calls 2

is_finishedMethod · 0.95
__finishMethod · 0.95

Tested by

no test coverage detected