summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Kulík <kulikjak@gmail.com>2020-10-19 16:57:47 +0200
committerJakub Kulík <kulikjak@gmail.com>2020-10-19 16:57:47 +0200
commitec5edcc0989e8ce893733eb0743158e479b6b3d4 (patch)
treeee34342bd1655be4d93323d413fb33b292b4447f
parent02c38338b4ade8b0b0e85be613bc2b9dbfe68a7b (diff)
downloadpexpect-ec5edcc0989e8ce893733eb0743158e479b6b3d4.tar.gz
fix test_pager_as_cat test case on Solaris
-rw-r--r--tests/test_replwrap.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_replwrap.py b/tests/test_replwrap.py
index 5e50ea2..29c5553 100644
--- a/tests/test_replwrap.py
+++ b/tests/test_replwrap.py
@@ -39,7 +39,7 @@ class REPLWrapTestCase(unittest.TestCase):
" PAGER is set to cat, to prevent timeout in ``man sleep``. "
bash = replwrap.bash()
res = bash.run_command('man sleep', timeout=5)
- assert 'SLEEP' in res, res
+ assert 'NAME' in res, res
def test_bash_env(self):
"""env, which displays PS1=..., should not mess up finding the prompt.