1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00

Prefere binary with wheels (#24669)

This commit is contained in:
Pascal Vizeli
2019-06-21 17:47:56 +02:00
committed by Paulus Schoutsen
parent 78b7ed0ebe
commit c9453bab19
2 changed files with 2 additions and 2 deletions

View File

@@ -178,7 +178,7 @@ def test_install_find_links(mock_sys, mock_popen, mock_env_copy, mock_venv):
mock_popen.call_args ==
call([
mock_sys.executable, '-m', 'pip', 'install', '--quiet',
TEST_NEW_REQ, '--find-links', link
TEST_NEW_REQ, '--find-links', link, '--prefer-binary'
], stdin=PIPE, stdout=PIPE, stderr=PIPE, env=env)
)
assert mock_popen.return_value.communicate.call_count == 1