def test_rehash(self): ''' Test for run rbenv rehash to update the installed shims. ''' with patch.object(rbenv, '_rbenv_exec', return_value=None): self.assertTrue(rbenv.rehash())
def test_rehash(self): """ Test for run rbenv rehash to update the installed shims. """ with patch.object(rbenv, "_rbenv_exec", return_value=None): self.assertTrue(rbenv.rehash())