Skip to content

Commit

Permalink
Fix tests that were failing because of my .condarc
Browse files Browse the repository at this point in the history
  • Loading branch information
necaris committed Jul 9, 2020
1 parent 877b4b6 commit e444e0d
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions tests/test_activate.py
Original file line number Diff line number Diff line change
Expand Up @@ -1693,10 +1693,12 @@ def test_json_basic(self):
"CONDA_PREFIX": self.prefix,
"CONDA_SHLVL": 1,
"CONDA_DEFAULT_ENV": self.prefix,
"CONDA_PROMPT_MODIFIER": '',
"CONDA_PROMPT_MODIFIER": "(%s) " % self.prefix,
**conda_exe_export
},
"set": {},
"set": {
"PS1": "(%s) " % self.prefix,
},
"unset": [],
},
"scripts": {
Expand Down Expand Up @@ -1728,9 +1730,11 @@ def test_json_basic(self):
"vars": {
"export": {
"CONDA_SHLVL": 1,
"CONDA_PROMPT_MODIFIER": '',
"CONDA_PROMPT_MODIFIER": "(%s) " % self.prefix,
},
"set": {
"PS1": "(%s) " % self.prefix,
},
"set": {},
"unset": [],
},
"scripts": {
Expand All @@ -1757,7 +1761,9 @@ def test_json_basic(self):
'CONDA_SHLVL': 0,
**conda_exe_export,
},
"set": {},
"set": {
"PS1": '',
},
"unset": ['CONDA_PREFIX', 'CONDA_DEFAULT_ENV', 'CONDA_PROMPT_MODIFIER'],
},
"scripts": {
Expand Down

0 comments on commit e444e0d

Please sign in to comment.