diff options
author | Alexander Schepanovski <suor.web@gmail.com> | 2014-08-09 20:55:53 +0800 |
---|---|---|
committer | Alexander Schepanovski <suor.web@gmail.com> | 2014-08-09 20:55:53 +0800 |
commit | 7969038573c8f2e7646a048ac8c738cd208ed571 (patch) | |
tree | 10985c64ecd83b38d97c4abd867d15ea6c44b5b1 /tests/test_config.py | |
parent | 4c5e42a3dddc75f38374e9fa68e6d6f2798ae081 (diff) | |
download | tox-7969038573c8f2e7646a048ac8c738cd208ed571.tar.gz |
Remove factor negation support
Diffstat (limited to 'tests/test_config.py')
-rw-r--r-- | tests/test_config.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/test_config.py b/tests/test_config.py index 28afa6c..fc429a4 100644 --- a/tests/test_config.py +++ b/tests/test_config.py @@ -835,20 +835,20 @@ class TestConfigTestEnv: def test_factors(self, newconfig): inisource=""" [tox] - envlist = a,b + envlist = a-x,b [testenv] deps= dep-all a: dep-a b: dep-b - !a: dep-not-a + x: dep-x """ conf = newconfig([], inisource) configs = conf.envconfigs - assert [dep.name for dep in configs['a'].deps] == ["dep-all", "dep-a"] - assert [dep.name for dep in configs['b'].deps] == \ - ["dep-all", "dep-b", "dep-not-a"] + assert [dep.name for dep in configs['a-x'].deps] == \ + ["dep-all", "dep-a", "dep-x"] + assert [dep.name for dep in configs['b'].deps] == ["dep-all", "dep-b"] def test_default_factors(self, newconfig): inisource=""" |