From: Mike Bayer Date: Thu, 20 Oct 2005 03:44:30 +0000 (+0000) Subject: (no commit message) X-Git-Tag: rel_0_1_0~502 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b64d37cdb2bc97d99b4e49d874fd505956638c57;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git --- 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')