def test_check_clean(script):
 result = script.pip('check')
 expected_lines = ('No broken requirements found.',)
 assert matches_expected_lines(result.stdout, expected_lines)

def test_check_clean ( script ) : result = script . pip ( 'check' ) expected_lines = ( 'No broken requirements found.' , ) assert matches_expected_lines ( result . stdout , expected_lines )
on a clean environment .