tests: Add VIRTUAL_ENV key to DummyEnv

Needed by test_vox.py.
This commit is contained in:
David Strobach 2020-08-29 16:39:14 +02:00
parent ee3258e1aa
commit 00aeb7645a

View file

@ -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()