summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMarcin Cieślak <saper@saper.info>2019-01-21 10:34:21 +0000
committerMarcin Cieślak <saper@saper.info>2019-01-22 15:18:17 +0000
commit69118eddeb5196960615f1b394ac0317de406e93 (patch)
treec0f4ee32847cd6f85ebc2754f17ae5850dc0dde5 /tests
parentef8aac61c476bd46747d3d4910a4d494a59fa375 (diff)
VISUAL overrides the value of EDITOR for the \e command
This is an ancient UNIX tradition universally respected.
Diffstat (limited to 'tests')
-rw-r--r--tests/features/environment.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/features/environment.py b/tests/features/environment.py
index dedbe093..25f5c6ba 100644
--- a/tests/features/environment.py
+++ b/tests/features/environment.py
@@ -22,6 +22,7 @@ def before_all(context):
os.environ['COLUMNS'] = "100"
os.environ['PAGER'] = 'cat'
os.environ['EDITOR'] = 'ex'
+ os.environ['VISUAL'] = 'ex'
context.package_root = os.path.abspath(
os.path.dirname(os.path.dirname(os.path.dirname(__file__))))