@pytest.mark.network
def test_multiple_search(script):
 output = script.pip('search', 'pip', 'INITools')
 assert ('The PyPA recommended tool for installing Python packages.' in output.stdout)
 assert ('Tools for parsing and using INI-style files' in output.stdout)

@ pytest . mark . network def test_multiple_search ( script ) : output = script . pip ( 'search' , 'pip' , 'INITools' ) assert ( 'The PyPA recommended tool for installing Python packages.' in output . stdout ) assert ( 'Tools for parsing and using INI-style files' in output . stdout )
test searching for multiple packages at once .