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

Method run_complete

tools/bash_completion_tests.py:37–39  ·  view source on GitHub ↗
(self, completion_file, program, command, expected)

Source from the content-addressed store, hash-verified

35
36class BashCompletionTest(unittest.TestCase):
37 def run_complete(self, completion_file, program, command, expected):
38 stdout,stderr = Completion().run(completion_file, program, command)
39 self.assertEqual(stdout.decode("utf-8"), expected + '\n')
40
41class GohanTestCases(BashCompletionTest):
42 def test_orig(self):

Callers

nothing calls this directly

Calls 3

CompletionClass · 0.70
decodeMethod · 0.65
runMethod · 0.45

Tested by

no test coverage detected