From 00aeb7645af97134495cc6bc5fe2f41922df8676 Mon Sep 17 00:00:00 2001 From: David Strobach Date: Sat, 29 Aug 2020 16:39:14 +0200 Subject: [PATCH] tests: Add VIRTUAL_ENV key to DummyEnv Needed by test_vox.py. --- tests/tools.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/tools.py b/tests/tools.py index 651cb6db4..d27c16705 100644 --- a/tests/tools.py +++ b/tests/tools.py @@ -106,7 +106,11 @@ class DummyHistory: class DummyEnv(MutableMapping): - DEFAULTS = {"XONSH_DEBUG": 1, "XONSH_COLOR_STYLE": "default"} + DEFAULTS = { + "XONSH_DEBUG": 1, + "XONSH_COLOR_STYLE": "default", + "VIRTUAL_ENV": "", + } def __init__(self, *args, **kwargs): self._d = self.DEFAULTS.copy()