[PyObjC-svn] r2573 - trunk/pyobjc/pyobjc-framework-CoreData/PyObjCTest
[email protected] Fri, 13 Aug 2010 09:03:40 -0500
| Newsgroups | gmane.comp.python.pyobjc.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: ronaldoussoren
Date: Fri Aug 13 09:03:40 2010
New Revision: 2573
Log:
Remove debug print from tests, re-enable a test that turns out to work just fine
Modified:
trunk/pyobjc/pyobjc-framework-CoreData/PyObjCTest/test_managedkvo.py
Modified: trunk/pyobjc/pyobjc-framework-CoreData/PyObjCTest/test_managedkvo.py
==============================================================================
--- trunk/pyobjc/pyobjc-framework-CoreData/PyObjCTest/test_managedkvo.py (original)
+++ trunk/pyobjc/pyobjc-framework-CoreData/PyObjCTest/test_managedkvo.py Fri Aug 13 09:03:40 2010
@@ -8,7 +8,6 @@
class CoreDataTestObject (CoreData.NSManagedObject):
def __getattr__(self, k):
- print "get", k
raise AttributeError(k)
def __setattr__(self, k, v):
@@ -60,7 +59,6 @@
def testPythonicAttribute(self):
managedObject = CoreData.NSManagedObject.alloc().initWithEntity_insertIntoManagedObjectContext_(self.entity, self.managedObjectContext)
- print managedObject
testValue = u'Ducks have webbed feet'
self.assertRaises(AttributeError, setattr, managedObject, 'attributeWithoutModel', testValue)
@@ -121,7 +119,7 @@
self.assertEquals(testValue, managedObject._.testAttribute)
def testPythonicAttribute(self):
- self.fail("research recursion problem")
+ #self.fail("research recursion problem")
managedObject = CoreDataTestObject.alloc().initWithEntity_insertIntoManagedObjectContext_(self.entity, self.managedObjectContext)
self.assert_(isinstance(managedObject, CoreDataTestObject))
------------------------------------------------------------------------------
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev