summaryrefslogtreecommitdiff
path: root/tests/test_config.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_config.py')
-rw-r--r--tests/test_config.py6
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)