Enlightenment CVS committal

Author  : barbieri
Project : e17
Module  : proto

Dir     : e17/proto/python-efl/python-edje/tests


Modified Files:
        01-basics.py 


Log Message:
Fix edje tests.

===================================================================
RCS file: /cvs/e/e17/proto/python-efl/python-edje/tests/01-basics.py,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -3 -r1.1.1.1 -r1.2
--- 01-basics.py        3 May 2007 21:56:06 -0000       1.1.1.1
+++ 01-basics.py        5 May 2007 20:16:13 -0000       1.2
@@ -18,7 +18,7 @@
 
     def testConstructorNotExist(self):
         def f():
-            o = edje.Edje(self.canvas.evas, file="inexistent")
+            o = edje.Edje(self.canvas.evas, file="inexistent", group="abc")
         self.assertRaises(edje.EdjeLoadError, f)
 
     def testPartExists(self):
@@ -27,7 +27,7 @@
 
     def testPartNotExists(self):
         o = edje.Edje(self.canvas.evas, file="theme.edj", group="main")
-        self.assertNotEqual(o.part_exists("bg123"), False)
+        self.assertEqual(o.part_exists("bg123"), False)
 
 
 ecore.evas.init()



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to