'Vanilla npm install should only be calling npm install one time'

def test_npm_install_called_once_when_successful(self):

    node_prereqs_installation()
    actual_calls = self._mock_paver_sh.mock_calls
    self.assertEqual(actual_calls.count(call('npm    install')), 1)
