Author: jstowers
Date: Wed Feb  6 01:40:31 2008
New Revision: 1277
URL: http://svn.gnome.org/viewvc/conduit?rev=1277&view=rev

Log:
2008-02-06  John Stowers  <[EMAIL PROTECTED]>

        * test/python-tests/common.py: Test is_configured() in all configure 
calls.



Modified:
   trunk/ChangeLog
   trunk/test/python-tests/common.py

Modified: trunk/test/python-tests/common.py
==============================================================================
--- trunk/test/python-tests/common.py   (original)
+++ trunk/test/python-tests/common.py   Wed Feb  6 01:40:31 2008
@@ -341,13 +341,19 @@
         if len(source) > 0:
             try:
                 self.source.module.set_configuration(source)
-                ok("Source configured", True)
+                ok("Source configured", 
+                        self.source.module.is_configured(
+                                            isSource=True,
+                                            isTwoWay=False))
             except:
                 ok("Source configured", False)
         if len(sink) > 0:
             try:
                 self.sink.module.set_configuration(sink)
-                ok("Sink configured", True)
+                ok("Sink configured",
+                        self.sink.module.is_configured(
+                                            isSource=False,
+                                            isTwoWay=False))
             except:
                 ok("Sink configured", False)
 
@@ -474,14 +480,20 @@
         if len(source) > 0:
             try:
                 self.source.module.set_configuration(source)
-                ok("Source configured", True)
+                ok("Source configured",
+                        self.source.module.is_configured(
+                                            isSource=True,
+                                            
isTwoWay=self.conduit.is_two_way()))
             except:
                 ok("Source configured", False)
         if len(sink) > 0:
             for i in xrange(0, len(self.conduit.datasinks)):
                 try:
                     self.get_sink(i).module.set_configuration(sink)
-                    ok("Sink %s configured" % i, True)
+                    ok("Sink %s configured" % i,
+                            self.get_sink(i).module.is_configured(
+                                            isSource=False,
+                                            
isTwoWay=self.conduit.is_two_way()))
                 except:
                     ok("Sink %s configured" % i, False)
 
_______________________________________________
SVN-commits-list mailing list (read only)
http://mail.gnome.org/mailman/listinfo/svn-commits-list

Want to limit the commits to a few modules? Go to above URL, log in to edit 
your options and select the modules ('topics') you want.
Module maintainer? It is possible to set the reply-to to your development 
mailing list. Email [EMAIL PROTECTED] if interested.

Reply via email to