From b64d37cdb2bc97d99b4e49d874fd505956638c57 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Thu, 20 Oct 2005 03:44:30 +0000 Subject: [PATCH] --- test/attributes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/attributes.py b/test/attributes.py index 7e4229f5fa..1a59c8af2f 100644 --- a/test/attributes.py +++ b/test/attributes.py @@ -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') -- 2.47.2