changeset 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 3beb55bedd92
children 0701aee1b0cd
files test_pymonkey.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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()