The new spell-check test passing!

This commit is contained in:
Erin O'Connell
2017-09-23 01:06:45 -06:00
parent ed58f25b5d
commit c94fb4b7ec
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -1628,7 +1628,7 @@ def install(
),
default=True
):
package_names[0] = package_name
package_names[0] = suggested_package
# Install all dependencies, if none was provided.
if package_name is False:
+3 -3
View File
@@ -128,14 +128,14 @@ class TestPipenv:
def test_spell_checking(self):
with PipenvInstance() as p:
c = p.pipenv('install django-rest-framework', block=False)
c = p.pipenv('install flaskcors', block=False)
c.expect('[Y/n]:')
c.send('y')
c.block()
assert c.return_code == 0
print(p.lockfile)
assert 'requests' in p.lockfile['djangorestframework']
assert 'flask-cors' in p.pipfile['packages']
assert 'flask' in p.lockfile['default']
def test_basic_install(self):
with PipenvInstance() as p: