]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
second assertion
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 31 Mar 2006 23:46:02 +0000 (23:46 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 31 Mar 2006 23:46:02 +0000 (23:46 +0000)
test/objectstore.py

index 44945dcbd5cc5a9c36b739e6e8e5eac19137dd86..72b5e16cec37e8cc841736ea6866ccfbce26fc96 100644 (file)
@@ -336,7 +336,8 @@ class PrivateAttrTest(AssertMixin):
         b.a = a2
         assert b not in sess.deleted
         objectstore.commit()
-        
+        assert b in sess.identity_map.values()
+                
 class DefaultTest(AssertMixin):
     """tests that when saving objects whose table contains DefaultGenerators, either python-side, preexec or database-side,
     the newly saved instances receive all the default values either through a post-fetch or getting the pre-exec'ed