diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2014-09-26 19:32:11 +0000 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2014-09-26 19:32:11 +0000 |
commit | 73e938245015e1e19ae6decd6671be3b98c06c60 (patch) | |
tree | 7b10d8f5aa65b61f4f967012886595e1fa06b161 | |
parent | a06d5df17553b2ef51b092b1aa83db35f967c546 (diff) | |
download | tox-73e938245015e1e19ae6decd6671be3b98c06c60.tar.gz |
Added a test for period in factor
-rw-r--r-- | tests/test_config.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/test_config.py b/tests/test_config.py index bf74133..615de30 100644 --- a/tests/test_config.py +++ b/tests/test_config.py @@ -909,6 +909,14 @@ class TestConfigTestEnv: configs = newconfig([], inisource).envconfigs assert configs["py27"].setenv["X"] == "1" assert "X" not in configs["py26"].setenv + + def test_period_in_factor(self, newconfig): + inisource=""" + [tox] + envlist = py27-{django1.6,django1.7} + """ + configs = newconfig([], inisource).envconfigs + assert list(configs) == ["py27-django1.6", "py27-django-1.7"] class TestGlobalOptions: |