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

Method test_explicit_pager

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

Source from the content-addressed store, hash-verified

236 self.assert_popen_call(expected_pager_cmd='mypager --option')
237
238 def test_explicit_pager(self):
239 self.set_session_pager('sessionpager --option')
240 with self.stream_factory.get_pager_stream(
241 'mypager --option'
242 ) as stream:
243 stream.write()
244 self.assert_popen_call(expected_pager_cmd='mypager --option')
245
246 def test_exit_of_context_manager_for_pager(self):
247 self.set_session_pager('mypager --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