diff options
author | Thomas Kluyver <thomas@kluyver.me.uk> | 2020-03-28 12:58:59 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-28 12:58:59 +0000 |
commit | 5374d9033cb1ed1041d7c88cae29c419fe5b5b2b (patch) | |
tree | 0a6b94edfc74dcc1eaba9a7289206ac8f681ed0b | |
parent | ad7c6c76ecb285c146a6b45511a58982a169db26 (diff) | |
parent | 51c0b09f92f140eda10b62d234710f65ad56dee2 (diff) | |
download | pexpect-git-5374d9033cb1ed1041d7c88cae29c419fe5b5b2b.tar.gz |
Merge pull request #632 from whitley-delamora/issue-631
REPLWrapTestCase.test_bash_env(): export variable PS1
-rw-r--r-- | tests/test_replwrap.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_replwrap.py b/tests/test_replwrap.py index 1e5ff87..5e50ea2 100644 --- a/tests/test_replwrap.py +++ b/tests/test_replwrap.py @@ -45,6 +45,7 @@ class REPLWrapTestCase(unittest.TestCase): """env, which displays PS1=..., should not mess up finding the prompt. """ bash = replwrap.bash() + res = bash.run_command("export PS1") res = bash.run_command("env") self.assertIn('PS1', res) res = bash.run_command("echo $HOME") |