Beispiel #1
0
 def test_redo_history(self):
     self.assertEqual(
         len(history.redo_history(self.proj)), 0)
     rename(self.proj, self.task_state,
            'Llama',
            'basic/foo.py',
            8)
     history.undo(self.proj)
     self.assertEqual(
         len(history.redo_history(self.proj)), 1)
Beispiel #2
0
def redo_history_view():
    from traad.rope.history import redo_history
    return {
        'result': 'success',
        'history': redo_history(project)
    }