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

Method setUp

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

Source from the content-addressed store, hash-verified

107
108class LiveTailLogEventsCollectorTest(unittest.TestCase):
109 def setUp(self):
110 self.output = StringIO()
111 self.log_events = []
112 self.response_stream = mock.Mock()
113 self.ui = PrintOnlyUI(self.output, self.log_events)
114 self.session_metadata = LiveTailSessionMetadata()
115 self.log_events_collector = LiveTailLogEventsCollector(
116 self.output,
117 self.ui,
118 self.response_stream,
119 self.log_events,
120 self.session_metadata,
121 )
122
123 def test_log_event_collection(self):
124 updates = [

Callers

nothing calls this directly

Calls 3

PrintOnlyUIClass · 0.90

Tested by

no test coverage detected