mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 08:24:40 +01:00
tests: Add VIRTUAL_ENV key to DummyEnv
Needed by test_vox.py.
This commit is contained in:
parent
ee3258e1aa
commit
00aeb7645a
1 changed files with 5 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Reference in a new issue