MCPcopy Index your code
hub / github.com/aws/aws-cli / test_pager

Method test_pager

tests/unit/test_utils.py:232–236  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

230 self.popen.assert_called_with(**popen_kwargs)
231
232 def test_pager(self):
233 self.set_session_pager('mypager --option')
234 with self.stream_factory.get_pager_stream() as stream:
235 stream.write()
236 self.assert_popen_call(expected_pager_cmd='mypager --option')
237
238 def test_explicit_pager(self):
239 self.set_session_pager('sessionpager --option')

Callers

nothing calls this directly

Calls 4

set_session_pagerMethod · 0.95
assert_popen_callMethod · 0.95
get_pager_streamMethod · 0.80
writeMethod · 0.45

Tested by

no test coverage detected