[pitivi] Fixe the last test in test_factories_operation
- From: Edward Hervey <edwardrv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] Fixe the last test in test_factories_operation
- Date: Wed, 22 Sep 2010 13:41:11 +0000 (UTC)
commit 12f1c26879d50e46991c0196836cdbcfe75deec7
Author: Thibault Saunier <tsaunier gnome org>
Date: Thu Jul 15 17:45:23 2010 -0400
Fixe the last test in test_factories_operation
tests/test_factories_operation.py | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/tests/test_factories_operation.py b/tests/test_factories_operation.py
index 5635a03..df01b0b 100644
--- a/tests/test_factories_operation.py
+++ b/tests/test_factories_operation.py
@@ -31,7 +31,7 @@ from common import TestCase
from pitivi.factories.operation import EffectFactory
from pitivi.stream import VideoStream
-class TestVideoEffectFactory(TestCase):
+class TestEffectFactory(TestCase):
def setUp(self):
TestCase.setUp(self)
self.stream = VideoStream(gst.Caps("video/x-raw-rgb"))
@@ -42,8 +42,9 @@ class TestVideoEffectFactory(TestCase):
def testMakeBin (self):
bin = self.factory.makeBin()
bin2 = self.factory.makeBin()
+ csp = bin.elements().next()
self.failUnless(isinstance(bin, gst.Bin))
- self.failUnless(bin.get_by_name("ffmpegcsp0"))
+ self.failUnless(csp)
self.factory.releaseBin(bin)
self.factory.releaseBin(bin2)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]