diff options
| author | Ronald Evers <ronald@ch10.nl> | 2013-10-10 00:21:11 +0200 |
|---|---|---|
| committer | Ronald Evers <ronald@ch10.nl> | 2013-10-10 00:21:11 +0200 |
| commit | c184d6045d8ef6851e03e2c733327151b5c286eb (patch) | |
| tree | 2936b8d8935bb383dac443c38afb334d34773d17 | |
| parent | 800d17aa90e4263ef51af28740d846d2a98da2d4 (diff) | |
| download | tox-c184d6045d8ef6851e03e2c733327151b5c286eb.tar.gz | |
expand install_command_substitutions test case
| -rw-r--r-- | tests/test_config.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/test_config.py b/tests/test_config.py index c6430d0..e117ca0 100644 --- a/tests/test_config.py +++ b/tests/test_config.py @@ -532,11 +532,13 @@ class TestConfigTestEnv: def test_install_command_substitutions(self, newconfig): config = newconfig(""" [testenv] - install_command=some_install {toxinidir} {envname} {packages} + install_command=some_install --arg={toxinidir}/foo \ + {envname} {opts} {packages} """) envconfig = config.envconfigs['python'] assert envconfig.install_command == [ - 'some_install', config.toxinidir, 'python', '{packages}'] + 'some_install', '--arg=%s/foo' % config.toxinidir, 'python', + '{opts}', '{packages}'] def test_downloadcache(self, newconfig, monkeypatch): monkeypatch.delenv("PIP_DOWNLOAD_CACHE", raising=False) |
