[Zope-Checkins] CVS: Zope3/lib/python/Persistence/tests - testModule.py:1.5
Jeremy Hylton
jeremy@zope.com
Sun, 23 Jun 2002 14:13:17 -0400
Update of /cvs-repository/Zope3/lib/python/Persistence/tests
In directory cvs.zope.org:/tmp/cvs-serv29947/tests
Modified Files:
testModule.py
Log Message:
Comment out non-functional test
=== Zope3/lib/python/Persistence/tests/testModule.py 1.4 => 1.5 ===
self.assertEqual(bar.foo.f(4), 46)
self.assertEqual(foo.f(4), 46)
+
+## def testFunctionAttrs(self):
+## self.importer.module_from_source("foo", foo_src)
+## import foo
+## A = foo.f.attr = "attr"
+## self.assertEqual(foo.f.attr, A)
+## get_transaction().commit()
+## self.assertEqual(foo.f.attr, A)
+## foo.f._p_deactivate()
+## self.assertEqual(foo.f.attr, A)
+
def test_suite():
return unittest.makeSuite(TestModule)