MCPcopy
hub / github.com/awslabs/aws-shell / setUp

Method setUp

tests/unit/test_toolbar.py:23–30  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

21class ToolbarTest(unittest.TestCase):
22
23 def setUp(self):
24 self.aws_shell = AWSShell(mock.Mock(), mock.Mock(), mock.Mock())
25 self.cli = mock.Mock()
26 self.toolbar = Toolbar(
27 lambda: self.aws_shell.model_completer.match_fuzzy,
28 lambda: self.aws_shell.enable_vi_bindings,
29 lambda: self.aws_shell.show_completion_columns,
30 lambda: self.aws_shell.show_help)
31
32 def test_toolbar_on(self):
33 self.aws_shell.model_completer.match_fuzzy = True

Callers

nothing calls this directly

Calls 2

AWSShellClass · 0.90
ToolbarClass · 0.90

Tested by

no test coverage detected