zaheer - in flumotion/trunk: . flumotion/test

flumotion-commit at lists.fluendo.com flumotion-commit at lists.fluendo.com
Tue Jun 5 19:39:49 CEST 2007


Author: zaheer
Date: Tue Jun  5 19:39:45 2007
New Revision: 5104

Modified:
   flumotion/trunk/ChangeLog
   flumotion/trunk/flumotion/test/test_component.py
   flumotion/trunk/flumotion/test/test_component_httpstreamer.py
   flumotion/trunk/flumotion/test/test_manager_depgraph.py
Log:
	* flumotion/test/test_component.py (PipelineTest.__init__,
	  PipelineTest.config):
	* flumotion/test/test_component_httpstreamer.py
	  (TestOldProperties.setUp):
	* flumotion/test/test_manager_depgraph.py
	  (testDepGraph._createComponent):
	Add source key back so that tests more accurately reflect reality
	because parser adds this key.



Modified: flumotion/trunk/ChangeLog
==============================================================================
--- flumotion/trunk/ChangeLog	(original)
+++ flumotion/trunk/ChangeLog	Tue Jun  5 19:39:45 2007
@@ -1,5 +1,16 @@
 2007-06-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
 
+	* flumotion/test/test_component.py (PipelineTest.__init__,
+	  PipelineTest.config):
+	* flumotion/test/test_component_httpstreamer.py
+	  (TestOldProperties.setUp):
+	* flumotion/test/test_manager_depgraph.py
+	  (testDepGraph._createComponent):
+	Add source key back so that tests more accurately reflect reality
+	because parser adds this key.
+
+2007-06-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
+
 	* flumotion/component/converters/overlay/overlay.py
 	  (Overlay.get_pipeline_string):
 	Fix to use eater dict.

Modified: flumotion/trunk/flumotion/test/test_component.py
==============================================================================
--- flumotion/trunk/flumotion/test/test_component.py	(original)
+++ flumotion/trunk/flumotion/test/test_component.py	Tue Jun  5 19:39:45 2007
@@ -33,6 +33,7 @@
 class PipelineTest(ParseLaunchComponent):
     def __init__(self, eaters=None, feeders=None, pipeline='test-pipeline'):
         self.__pipeline = pipeline
+        self._source = eaters or []
         if eaters:
             self._eater = {'default':eaters}
         else:
@@ -43,6 +44,7 @@
 
     def config(self):
         config = {'name': 'fake',
+                  'source': self._source,
                   'eater': self._eater,
                   'feed': self._feed,
                   'plugs': {},

Modified: flumotion/trunk/flumotion/test/test_component_httpstreamer.py
==============================================================================
--- flumotion/trunk/flumotion/test/test_component_httpstreamer.py	(original)
+++ flumotion/trunk/flumotion/test/test_component_httpstreamer.py	Tue Jun  5 19:39:45 2007
@@ -45,6 +45,7 @@
             'name': 'http-video',
             'parent': 'default',
             'eater': {'default': ['muxer-video']},
+            'source': ['muxer-video'],
             'avatarId': '/default/http-video',
             'clock-master': None,
             'plugs': {

Modified: flumotion/trunk/flumotion/test/test_manager_depgraph.py
==============================================================================
--- flumotion/trunk/flumotion/test/test_manager_depgraph.py	(original)
+++ flumotion/trunk/flumotion/test/test_manager_depgraph.py	Tue Jun  5 19:39:45 2007
@@ -40,7 +40,8 @@
         source = []
         for eater in defs[4]:
             source.append(eater)
-        
+       
+        conf["source"] = source
         conf["eater"] = {"default":source}
 
         ret.set("config", conf)


More information about the flumotion-commit mailing list