pythontests: change num layers in timeline to 1
authorHenry Wilkes <hwilkes@igalia.com>
Tue, 18 Feb 2020 12:17:50 +0000 (12:17 +0000)
committerThibault Saunier <tsaunier@igalia.com>
Thu, 5 Mar 2020 20:04:51 +0000 (17:04 -0300)
In the test_timeline.test_auto_transition, the corresponding xges only
has one layer, so we should only expect one layer when we extract the
timeline. This fixes a change that was missing from commit
d3e2cf55e3ad6258ff09220ee6393655fdd833f1

tests/check/python/test_timeline.py

index 44af97290811b2e8f484d8553b1b2dccb5202871..5903d1a7e9d0912a3cc3665b3e6ee29d74b41da1 100644 (file)
@@ -1030,7 +1030,7 @@ class TestTransitions(common.GESSimpleTimelineTest):
             mainloop.run()
 
             layers = timeline.get_layers()
-            self.assertEqual(len(layers), 2)
+            self.assertEqual(len(layers), 1)
 
             self.assertTrue(layers[0].props.auto_transition)