def test_pip_show_divider(script, data):
 script.pip('install', 'pip-test-package', '--no-index', '-f', data.packages)
 result = script.pip('show', 'pip', 'pip-test-package')
 lines = result.stdout.splitlines()
 assert ('---' in lines)

def test_pip_show_divider ( script , data ) : script . pip ( 'install' , 'pip-test-package' , '--no-index' , '-f' , data . packages ) result = script . pip ( 'show' , 'pip' , 'pip-test-package' ) lines = result . stdout . splitlines ( ) assert ( '---' in lines )
expect a divider between packages .