From c184d6045d8ef6851e03e2c733327151b5c286eb Mon Sep 17 00:00:00 2001 From: Ronald Evers Date: Thu, 10 Oct 2013 00:21:11 +0200 Subject: expand install_command_substitutions test case --- tests/test_config.py | 6 ++++-- 1 file 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) -- cgit v1.2.1