def test_show_verbose(script):
 result = script.pip('show', '--verbose', 'pip')
 lines = result.stdout.splitlines()
 assert any((line.startswith('Metadata-Version: ') for line in lines))
 assert any((line.startswith('Installer: ') for line in lines))
 assert ('Entry-points:' in lines)
 assert ('Classifiers:' in lines)

def test_show_verbose ( script ) : result = script . pip ( 'show' , '--verbose' , 'pip' ) lines = result . stdout . splitlines ( ) assert any ( ( line . startswith ( 'Metadata-Version: ' ) for line in lines ) ) assert any ( ( line . startswith ( 'Installer: ' ) for line in lines ) ) assert ( 'Entry-points:' in lines ) assert ( 'Classifiers:' in lines )
test end to end test for verbose show command .