MCPcopy Create free account
hub / github.com/aws/aws-cli / setUp

Method setUp

tests/unit/customizations/logs/test_ui.py:375–386  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

373
374class LiveTailKeyBindingsTest(unittest.TestCase):
375 def setUp(self) -> None:
376 self.ui = mock.Mock(InteractiveUI)
377 self.prompt_buffer = Buffer()
378 self.output_buffer = Buffer()
379 self.ui._application = mock.Mock(Application)
380 self.keyword_highlight = {}
381 self.key_bindings = LiveTailKeyBindings(
382 self.ui,
383 self.prompt_buffer,
384 self.output_buffer,
385 self.keyword_highlight,
386 )
387
388 def test_reset(self):
389 event = mock.Mock()

Callers

nothing calls this directly

Calls 1

LiveTailKeyBindingsClass · 0.90

Tested by

no test coverage detected