def fail_on_npm_install(arg):
 if ('npm install' in arg):
  raise BuildFailure('Subprocess return code: 1')
 else:
  return

def fail_on_npm_install ( arg ) : if ( 'npm install' in arg ) : raise BuildFailure ( 'Subprocess return code: 1' ) else : return
for our tests .