diff options
| author | holger krekel <holger@merlinux.eu> | 2013-10-22 11:04:11 +0200 |
|---|---|---|
| committer | holger krekel <holger@merlinux.eu> | 2013-10-22 11:04:11 +0200 |
| commit | af8484d797b26b6517eb0b35ba34422ef71e421f (patch) | |
| tree | 7a7dac9f3e456967cb364fff5e70a6c16c2044e5 /tests | |
| parent | e801379ce7565a8c53f492f8174ecf709979576a (diff) | |
| download | tox-af8484d797b26b6517eb0b35ba34422ef71e421f.tar.gz | |
a command line specified --installpkg trumps any develop option
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test_config.py | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/tests/test_config.py b/tests/test_config.py index e873c9e..fa5d8e9 100644 --- a/tests/test_config.py +++ b/tests/test_config.py @@ -308,7 +308,8 @@ class TestIniParser: assert argvlist[0] == ["cmd1"] assert argvlist[1] == ["cmd2", "value2", "other"] - def test_positional_arguments_are_only_replaced_when_standing_alone(self, tmpdir, newconfig): + def test_positional_arguments_are_only_replaced_when_standing_alone(self, + tmpdir, newconfig): config = newconfig(""" [section] key= @@ -406,6 +407,13 @@ class TestConfigTestEnv: assert envconfig.envlogdir == envconfig.envdir.join("log") assert envconfig.setenv is None + def test_installpkg_tops_develop(self, newconfig): + config = newconfig(["--installpkg=abc"], """ + [testenv] + usedevelop = True + """) + assert not config.envconfigs["python"].develop + def test_specific_command_overrides(self, tmpdir, newconfig): config = newconfig(""" [testenv] |
