MCPcopy
hub / github.com/google/python-fire / testAddCompletionScript

Method testAddCompletionScript

fire/trace_test.py:78–83  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

76 self.assertEqual(str(t), target)
77
78 def testAddCompletionScript(self):
79 t = trace.FireTrace('initial object')
80 t.AddCompletionScript('This is the completion script string.')
81 self.assertEqual(
82 str(t),
83 '1. Initial component\n2. Generated completion script')
84
85 def testAddInteractiveMode(self):
86 t = trace.FireTrace('initial object')

Callers

nothing calls this directly

Calls 1

AddCompletionScriptMethod · 0.95

Tested by

no test coverage detected