davemds pushed a commit to branch master.

http://git.enlightenment.org/bindings/python/python-efl.git/commit/?id=b32f95e3c4bbaa5de29c0c605964c66274ce13c7

commit b32f95e3c4bbaa5de29c0c605964c66274ce13c7
Author: davemds <d...@gurumeditation.it>
Date:   Sun Feb 23 19:38:33 2014 +0100

    Python-EFL: 2 small fix for the unit tests
---
 tests/edje/test_04_edit.py       | 2 +-
 tests/edje/test_05_decorators.py | 3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/tests/edje/test_04_edit.py b/tests/edje/test_04_edit.py
index ce89d5b..a558216 100644
--- a/tests/edje/test_04_edit.py
+++ b/tests/edje/test_04_edit.py
@@ -52,7 +52,7 @@ class TestEdjeEditGeneral(unittest.TestCase):
 
     def testGeneral(self):
         self.assertEqual(self.o.compiler_get(), "edje_cc")
-        self.assertEqual(self.o.file_get(), (unicode(theme_file), u"main"))
+        self.assertEqual(self.o.file_get(), (theme_file, "main"))
         # self.o.print_internal_status() # FIXME this crash badly
 
     def testGroup(self):
diff --git a/tests/edje/test_05_decorators.py b/tests/edje/test_05_decorators.py
index 333dcfd..69383a7 100644
--- a/tests/edje/test_05_decorators.py
+++ b/tests/edje/test_05_decorators.py
@@ -13,8 +13,7 @@ theme_file = os.path.join(theme_path, "theme.edj")
 
 
 expected_signals = ["edje,state,ltr", "load", "edje,state,ltr", "resize",
-                    "cursor,changed", "changed", "zoom,stop", "emit,message",
-                    "emit,message"]
+                    "cursor,changed", "changed", "emit,message", 
"emit,message"]
 expected_signals2 = ["load", "resize"]
 expected_messages = [33, 33]
 expected_text_parts = ["label", "label"]

-- 


Reply via email to