summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoland Walker <walker@pobox.com>2021-01-05 07:13:11 -0500
committerRoland Walker <walker@pobox.com>2021-01-05 07:13:11 -0500
commit21cda96909308652aca00c88f0ec4f9cb5d54bfc (patch)
tree4a974a3ba48a1a96d2bf09c170242f839f010d87
parent4517f49efdcc167a672bce9fdb922bb7224ce5f5 (diff)
stop test suite commands leaking into user history
-rw-r--r--test/features/environment.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/features/environment.py b/test/features/environment.py
index cb35140..f065c17 100644
--- a/test/features/environment.py
+++ b/test/features/environment.py
@@ -18,6 +18,7 @@ def before_all(context):
os.environ['EDITOR'] = 'ex'
os.environ['LC_ALL'] = 'en_US.UTF-8'
os.environ['PROMPT_TOOLKIT_NO_CPR'] = '1'
+ os.environ['MYCLI_HISTFILE'] = os.devnull
test_dir = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
login_path_file = os.path.join(test_dir, 'mylogin.cnf')