Commit a926126c authored by Jim Fulton's avatar Jim Fulton

Made the tests a bit more thorough.

parent 2b97a4ed
......@@ -83,9 +83,17 @@ We can access the class in another connection:
... 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()
'******************************************'
......@@ -44,7 +44,6 @@ def test_suite():
return unittest.TestSuite((
# To do:
# - Beef up basic test
# - Test working with old pickles
# - Test proper handling of __of__
# - Test export/import
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment