[pitivi] Revert "tests: Do not expect 3 actions stacked when we only add a clip to a layer"



commit 1fa17e701d34a09cd7dd13caf432be221260338c
Author: Thibault Saunier <tsaunier gnome org>
Date:   Fri Jul 3 09:36:13 2015 +0200

    Revert "tests: Do not expect 3 actions stacked when we only add a clip to a layer"
    
    This reverts commit 8998ebbda37b6d5dfbbfd73e1e3e2c04c5e7f037.

 tests/test_undo_timeline.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/test_undo_timeline.py b/tests/test_undo_timeline.py
index aa50489..4fb63e7 100644
--- a/tests/test_undo_timeline.py
+++ b/tests/test_undo_timeline.py
@@ -135,7 +135,7 @@ class TestTimelineUndo(TestCase):
 
         self.assertEqual(1, len(stacks))
         stack = stacks[0]
-        self.assertEqual(1, len(stack.done_actions))
+        self.assertEqual(3, len(stack.done_actions))
         action = stack.done_actions[0]
         self.assertTrue(isinstance(action, ClipAdded))
         self.assertTrue(clip1 in self.getTimelineClips())


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]