mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
fix appveyor tests failing on emoji printing
This commit is contained in:
@@ -37,20 +37,20 @@ class TestPipenv():
|
||||
assert delegator.run('touch Pipfile').return_code == 0
|
||||
|
||||
assert delegator.run('pipenv --python python').return_code == 0
|
||||
assert delegator.run('pipenv install requests').return_code == 0
|
||||
assert delegator.run('pipenv install celery').return_code == 0
|
||||
assert delegator.run('pipenv install pytest --dev').return_code == 0
|
||||
assert delegator.run('pipenv install git+https://github.com/kennethreitz/records.git@v0.5.0#egg=records').return_code == 0
|
||||
assert delegator.run('pipenv lock').return_code == 0
|
||||
|
||||
# Test uninstalling a package afte locking.
|
||||
assert delegator.run('pipenv uninstall requests').return_code == 0
|
||||
assert delegator.run('pipenv uninstall celery').return_code == 0
|
||||
|
||||
pipfile_output = delegator.run('cat Pipfile').out
|
||||
lockfile_output = delegator.run('cat Pipfile.lock').out
|
||||
|
||||
# Ensure uninstall works.
|
||||
assert 'requests' not in pipfile_output
|
||||
assert 'requests' in lockfile_output
|
||||
assert 'celery' not in pipfile_output
|
||||
assert 'celery' in lockfile_output
|
||||
|
||||
# Ensure dev-packages work.
|
||||
assert 'pytest' in pipfile_output
|
||||
|
||||
Reference in New Issue
Block a user