[pitivi] tests: Do not expect 3 actions stacked when we only add a clip to a layer
- From: Thibault Saunier <tsaunier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] tests: Do not expect 3 actions stacked when we only add a clip to a layer
- Date: Wed, 8 Jul 2015 10:03:28 +0000 (UTC)
commit f85690b1320045e045dd96a83d445f326dd86bf0
Author: Thibault Saunier <tsaunier gnome org>
Date: Thu Jul 2 16:45:21 2015 +0200
tests: Do not expect 3 actions stacked when we only add a clip to a layer
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 4fb63e7..aa50489 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(3, len(stack.done_actions))
+ self.assertEqual(1, 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]