[pitivi] Fix tests/test_factories_file.py



commit 7e6443fcc7253689d4fcfcaa45167a16278010ad
Author: Alessandro Decina <alessandro d gmail com>
Date:   Wed Aug 12 12:55:45 2009 +0200

    Fix tests/test_factories_file.py

 tests/test_factories_file.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/tests/test_factories_file.py b/tests/test_factories_file.py
index 509bd6d..dcb0735 100644
--- a/tests/test_factories_file.py
+++ b/tests/test_factories_file.py
@@ -105,6 +105,9 @@ class TestPictureFileSourceFactory(TestCase):
         # the default bin for FileSource is a bin containing decodebin
         # what we're testing here is that the method does return a bin and
         # doesn't rise exceptions. We're NOT changing the state of the bin.
+        video1 = VideoStream(gst.Caps('video/x-raw-rgb, width=2048'),
+                pad_name='src0')
+        self.factory.addOutputStream(video1)
         bin = self.factory.makeBin()
         self.failUnless(isinstance(bin, gst.Bin))
         self.factory.releaseBin(bin)



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