def test_show_verbose_installer(script, data):
 wheel_file = data.packages.join('simple.dist-0.1-py2.py3-none-any.whl')
 script.pip('install', '--no-index', wheel_file)
 result = script.pip('show', '--verbose', 'simple.dist')
 lines = result.stdout.splitlines()
 assert ('Name: simple.dist' in lines)
 assert ('Installer: pip' in lines)

def test_show_verbose_installer ( script , data ) : wheel_file = data . packages . join ( 'simple.dist-0.1-py2.py3-none-any.whl' ) script . pip ( 'install' , '--no-index' , wheel_file ) result = script . pip ( 'show' , '--verbose' , 'simple.dist' ) lines = result . stdout . splitlines ( ) assert ( 'Name: simple.dist' in lines ) assert ( 'Installer: pip' in lines )
test that the installer is shown .