summaryrefslogtreecommitdiff
path: root/tests/test_config.py
diff options
context:
space:
mode:
authorholger krekel <holger@merlinux.eu>2015-02-21 20:33:15 +0100
committerholger krekel <holger@merlinux.eu>2015-02-21 20:33:15 +0100
commit152f30d55d68973356083521523e47a2796d45c6 (patch)
tree9cf1df8d179feffef131d5db3a7ca2b0d5d0fb5d /tests/test_config.py
parenteca4bc058aae8beed720d71b0b4803fc05c26005 (diff)
parent192089fb9a72e4247489a9d841827d3d2ec8da1d (diff)
downloadtox-152f30d55d68973356083521523e47a2796d45c6.tar.gz
Merged in suor/tox/issue198 (pull request #129)
Diffstat (limited to 'tests/test_config.py')
-rw-r--r--tests/test_config.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/test_config.py b/tests/test_config.py
index 229f035..f957771 100644
--- a/tests/test_config.py
+++ b/tests/test_config.py
@@ -960,6 +960,18 @@ class TestConfigTestEnv:
assert configs["py27"].setenv["X"] == "1"
assert "X" not in configs["py26"].setenv
+ @pytest.mark.issue191
+ def test_factor_use_not_checked(self, newconfig):
+ inisource="""
+ [tox]
+ envlist = py27-{a,b}
+
+ [testenv]
+ deps = b: test
+ """
+ configs = newconfig([], inisource).envconfigs
+ assert set(configs.keys()) == set(['py27-a', 'py27-b'])
+
@pytest.mark.issue198
def test_factors_groups_touch(self, newconfig):
inisource="""