From: Mike Bayer Date: Tue, 30 Mar 2010 14:41:07 +0000 (-0400) Subject: fix pk violation error X-Git-Tag: rel_0_6_0~82^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4cbe117eb2feb7cff28c66d849d3a0613448fdce;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git fix pk violation error --- diff --git a/test/orm/test_expire.py b/test/orm/test_expire.py index 0b3e09a830..926ae06299 100644 --- a/test/orm/test_expire.py +++ b/test/orm/test_expire.py @@ -336,7 +336,7 @@ class ExpireTest(_fixtures.FixtureTest): s = create_session() u = s.query(User).get(8) - a = Address(email_address='foobar') + a = Address(id=12, email_address='foobar') u.addresses.append(a) if expire_or_refresh: