def test_pip_show_is_short(script):
 result = script.pip('show', 'pip')
 lines = result.stdout.splitlines()
 assert (len(lines) <= 10)

def test_pip_show_is_short ( script ) : result = script . pip ( 'show' , 'pip' ) lines = result . stdout . splitlines ( ) assert ( len ( lines ) <= 10 )
test that pip show stays short .