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

Method test_both

tests/unit/test_help.py:88–91  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

86 self.assertEqual(self.renderer.get_pager_cmdline(), pager_cmd.split())
87
88 def test_both(self):
89 os.environ['MANPAGER'] = 'foobar'
90 os.environ['PAGER'] = 'fiebaz'
91 self.assertEqual(self.renderer.get_pager_cmdline(), 'foobar'.split())
92
93 def test_manpager_with_args(self):
94 pager_cmd = 'less -X'

Callers

nothing calls this directly

Calls 1

get_pager_cmdlineMethod · 0.80

Tested by

no test coverage detected