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

Method setUp

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

Source from the content-addressed store, hash-verified

280
281class InteractivePrinterTest(unittest.TestCase):
282 def setUp(self) -> None:
283 self.ui = mock.Mock(spec=InteractiveUI)
284 self.output = LiveTailBuffer()
285 self.log_events = []
286 self.session_metadata = LiveTailSessionMetadata()
287 self.keyword_highlight = {}
288 self.printer = InteractivePrinter(
289 self.ui,
290 self.output,
291 self.log_events,
292 self.session_metadata,
293 self.keyword_highlight,
294 )
295
296 def test_color_log_event(self):
297 log_event = "[INFO] this is a log event with KEYWORD"

Callers

nothing calls this directly

Calls 3

LiveTailBufferClass · 0.90
InteractivePrinterClass · 0.90

Tested by

no test coverage detected