mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
Fix test_lock_updated_source
This was broken because of wrong Pipfile format. Plette is strict!
This commit is contained in:
@@ -391,7 +391,7 @@ six = {version = "*", index = "testpypi"}
|
||||
pipenv-test-public-package = "*"
|
||||
""".strip()
|
||||
f.write(contents)
|
||||
c = p.pipenv(f'install -v')
|
||||
c = p.pipenv('install -v')
|
||||
assert c.returncode == 0
|
||||
|
||||
|
||||
@@ -404,7 +404,7 @@ def test_lock_updated_source(pipenv_instance_private_pypi):
|
||||
contents = """
|
||||
[[source]]
|
||||
url = "{url}/${{MY_ENV_VAR}}"
|
||||
name = expanded
|
||||
name = "expanded"
|
||||
verify_ssl = false
|
||||
|
||||
[packages]
|
||||
@@ -422,6 +422,8 @@ requests = "==2.14.0"
|
||||
contents = """
|
||||
[[source]]
|
||||
url = "{url}/simple"
|
||||
name = "expanded"
|
||||
verify_ssl = false
|
||||
|
||||
[packages]
|
||||
requests = "==2.14.0"
|
||||
|
||||
Reference in New Issue
Block a user