From 145a753cd3edb9478ea0947b3be62f3470817672 Mon Sep 17 00:00:00 2001 From: Pradyun Gedam Date: Mon, 29 Jul 2019 20:31:52 +0530 Subject: [PATCH] Update tests for eagerly populated links --- tests/functional/test_install.py | 2 +- tests/functional/test_install_reqs.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/functional/test_install.py b/tests/functional/test_install.py index bae1e7f33..084b08ed0 100644 --- a/tests/functional/test_install.py +++ b/tests/functional/test_install.py @@ -600,7 +600,7 @@ def test_install_global_option(script): result = script.pip( 'install', '--global-option=--version', "INITools==0.1", expect_stderr=True) - assert '0.1\n' in result.stdout + assert 'INITools==0.1\n' in result.stdout def test_install_with_hacked_egg_info(script, data): diff --git a/tests/functional/test_install_reqs.py b/tests/functional/test_install_reqs.py index 143688331..d2b23df03 100644 --- a/tests/functional/test_install_reqs.py +++ b/tests/functional/test_install_reqs.py @@ -162,7 +162,7 @@ def test_respect_order_in_requirements_file(script, data): ) downloaded = [line for line in result.stdout.split('\n') - if 'Collecting' in line] + if 'Processing' in line] assert 'parent' in downloaded[0], ( 'First download should be "parent" but was "%s"' % downloaded[0] -- GitLab