MCPcopy Create free account
hub / github.com/cloudwan/gohan / run_complete

Method run_complete

tools/gohan_client_bash_completion_tests.py:40–42  ·  view source on GitHub ↗
(self, completion_file, program, command, expected)

Source from the content-addressed store, hash-verified

38class BashCompletionTest(unittest.TestCase):
39
40 def run_complete(self, completion_file, program, command, expected):
41 stdout,stderr = Completion().run(completion_file, program, command)
42 self.assertEqual(stdout.decode("utf-8"), expected + '\n')
43
44class GohanClientTestCases(BashCompletionTest):
45 def test_1(self):

Callers 1

run_completeMethod · 0.45

Calls 3

CompletionClass · 0.70
decodeMethod · 0.65
runMethod · 0.45

Tested by

no test coverage detected