From 45bc633d9c76c2e22449e5dcdbfa314e59ed4568 Mon Sep 17 00:00:00 2001 From: Alexander Schepanovski Date: Mon, 29 Dec 2014 19:09:15 +0700 Subject: Lessen factor use check Fixes issue 191 --- tests/test_config.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'tests') diff --git a/tests/test_config.py b/tests/test_config.py index 1c58a4a..f2ecf8c 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']) + def test_period_in_factor(self, newconfig): inisource=""" [tox] -- cgit v1.2.1