diff options
| author | Anthon van der Neut <anthon@mnt.org> | 2013-08-08 12:15:31 +0200 |
|---|---|---|
| committer | Anthon van der Neut <anthon@mnt.org> | 2013-08-08 12:15:31 +0200 |
| commit | e9d9e2e28503c53ac3a2fe5fbd2929c1443620ad (patch) | |
| tree | f3808460c970ed722eb2bfc1b64a9a55715ebaa2 | |
| parent | b40d26de449750a30f20ed4732b2809d072fbc3f (diff) | |
| download | tox-e9d9e2e28503c53ac3a2fe5fbd2929c1443620ad.tar.gz | |
dash_e_all: fixes failing test caused by -e change
| -rw-r--r-- | tox/_config.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tox/_config.py b/tox/_config.py index 8ef5cff..a95701d 100644 --- a/tox/_config.py +++ b/tox/_config.py @@ -342,16 +342,17 @@ class parseini: if not envlist: envlist = self.config.envconfigs.keys() return envlist - if env == "ALL": + envlist = _split_env(env) + if "ALL" in envlist: envlist = list(self.config.envconfigs) envlist.sort() - else: - envlist = _split_env(env) return envlist def _split_env(env): """if handed a list, action="append" was used for -e """ envlist = [] + if not isinstance(env, list): + env = [env] for to_split in env: for single_env in to_split.split(","): # "remove True or", if not allowing multiple same runs, update tests |
