From f300bb43dedd54a81f5bd72fd9afad1c2bb39ede Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Tue, 21 Jul 2009 20:25:36 +0000 Subject: - Fixed bug whereby inheritance discriminator part of a composite primary key would fail on updates. Continuation of [ticket:1300]. --- test/orm/inheritance/test_basic.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'test/orm/inheritance/test_basic.py') diff --git a/test/orm/inheritance/test_basic.py b/test/orm/inheritance/test_basic.py index fc4aae17d..213f2ebf4 100644 --- a/test/orm/inheritance/test_basic.py +++ b/test/orm/inheritance/test_basic.py @@ -985,6 +985,14 @@ class PKDiscriminatorTest(_base.MappedTest): assert a.id assert a.type == 2 + p.name='p1new' + a.name='a1new' + s.flush() + + s.expire_all() + assert a.name=='a1new' + assert p.name=='p1new' + class DeleteOrphanTest(_base.MappedTest): @classmethod -- cgit v1.2.1