[Zope-Checkins]
SVN: Zope/branches/jim-fix-zclasses/lib/python/ZClasses/
Made the tests a bit more thorough.
Jim Fulton
jim at zope.com
Tue Feb 15 07:24:49 EST 2005
Log message for revision 29149:
Made the tests a bit more thorough.
Changed:
U Zope/branches/jim-fix-zclasses/lib/python/ZClasses/ZClass.txt
U Zope/branches/jim-fix-zclasses/lib/python/ZClasses/tests.py
-=-
Modified: Zope/branches/jim-fix-zclasses/lib/python/ZClasses/ZClass.txt
===================================================================
--- Zope/branches/jim-fix-zclasses/lib/python/ZClasses/ZClass.txt 2005-02-15 12:24:44 UTC (rev 29148)
+++ Zope/branches/jim-fix-zclasses/lib/python/ZClasses/ZClass.txt 2005-02-15 12:24:49 UTC (rev 29149)
@@ -83,9 +83,17 @@
... app.c2.x = '*'
... print app.c2.x, app.c2.y, app.c2.eek(), '!'
... print app.c.x, app.c.y, app.c.eek(), '!'
+ ... transaction.commit()
... connection.close()
- ... run(read_class)
- hee 42 ****************************************** !
+ >>> run(read_class)
+ * 42 ****************************************** !
hi 3 hi hi hi !
+
+Of course, we should be able to see the new object created in the
+other connection:
+
+ >>> conn.sync()
+ >>> app.c2.eek()
+ '******************************************'
Modified: Zope/branches/jim-fix-zclasses/lib/python/ZClasses/tests.py
===================================================================
--- Zope/branches/jim-fix-zclasses/lib/python/ZClasses/tests.py 2005-02-15 12:24:44 UTC (rev 29148)
+++ Zope/branches/jim-fix-zclasses/lib/python/ZClasses/tests.py 2005-02-15 12:24:49 UTC (rev 29149)
@@ -44,7 +44,6 @@
return unittest.TestSuite((
# To do:
- # - Beef up basic test
# - Test working with old pickles
# - Test proper handling of __of__
# - Test export/import
More information about the Zope-Checkins
mailing list