diff test_pymonkey.py @ 94:c66d7da09c95

Tweaked a test to also ensure that context.get_property() can take unicode or strings.
author Atul Varma <varmaa@toolness.com>
date Sat, 15 Aug 2009 00:25:48 -0700
parents d2891ca1b89c
children 0701aee1b0cd
line wrap: on
line diff
--- a/test_pymonkey.py	Sat Aug 15 00:22:13 2009 -0700
+++ b/test_pymonkey.py	Sat Aug 15 00:25:48 2009 -0700
@@ -342,7 +342,7 @@
         self.assertTrue(isinstance(cx.get_property(obj, u"foo"),
                                    pymonkey.Object))
         self.assertTrue(cx.get_property(obj, u"foo") is
-                        cx.get_property(obj, u"foo"))
+                        cx.get_property(obj, "foo"))
 
     def testObjectGetattrThrowsException(self):
         cx = pymonkey.Runtime().new_context()