]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
(no commit message)
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 20 Oct 2005 03:44:30 +0000 (03:44 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 20 Oct 2005 03:44:30 +0000 (03:44 +0000)
test/attributes.py

index 7e4229f5fa5fe345d960d79270e17410906a2788..1a59c8af2fa193323c81265ce26b3add754e4879 100644 (file)
@@ -58,7 +58,7 @@ class AttributesTest(PersistTest):
 
         print repr(u.__dict__)
         self.assert_(u.user_id == 7 and u.user_name == 'john' and u.addresses[0].email_address == 'lala@123.com')
-        manager.commit()
+        manager.commit(u, a)
         print repr(u.__dict__)
         self.assert_(u.user_id == 7 and u.user_name == 'john' and u.addresses[0].email_address == 'lala@123.com')
 
@@ -70,7 +70,7 @@ class AttributesTest(PersistTest):
         print repr(u.__dict__)
         self.assert_(u.user_id == 7 and u.user_name == 'heythere' and u.addresses[0].email_address == 'lala@123.com' and u.addresses[1].email_address == 'foo@bar.com')
 
-        manager.rollback()
+        manager.rollback(u, a)
         print repr(u.__dict__)
         print repr(u.addresses[0].__dict__)
         self.assert_(u.user_id == 7 and u.user_name == 'john' and u.addresses[0].email_address == 'lala@123.com')