summaryrefslogtreecommitdiff
path: root/tests/test_config.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_config.py')
-rw-r--r--tests/test_config.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/test_config.py b/tests/test_config.py
index fae1bde..248f1d6 100644
--- a/tests/test_config.py
+++ b/tests/test_config.py
@@ -1323,6 +1323,17 @@ class TestGlobalOptions:
assert config.envlist == \
["py26-dep1", "py26-dep2", "py27-dep1", "py27-dep2"]
+ def test_envlist_multiline(self, newconfig):
+ inisource = """
+ [tox]
+ envlist =
+ py27
+ py34
+ """
+ config = newconfig([], inisource)
+ assert config.envlist == \
+ ["py27", "py34"]
+
def test_minversion(self, tmpdir, newconfig, monkeypatch):
inisource = """
[tox]