pythontests: change num layers in timeline to 1

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
d3e2cf55e3
This commit is contained in:
Henry Wilkes 2020-02-18 12:17:50 +00:00 committed by Thibault Saunier
parent 9a459d0cb5
commit b6fb2ed531

View file

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