#NEWLINE# @ pytest . mark . parametrize ( 'script, formula, ' , [ ( 'brew update foo' , 'foo' ) , ( 'brew update bar zap' , 'bar zap' ) ] ) #NEWLINE# def test_get_new_command( stderr , new_command , script , formula ) : #NEWLINE# #INDENT# assert ( get_new_command ( Command ( script = new_command , stderr = stderr ) ) == new_command )