From 19d5287d833110507d8ed7b64d31871f67d3f171 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Sat, 2 Oct 2010 01:30:17 -0400 Subject: [PATCH] - this test began working for oracle as of r14af1f73fbbd. Additionally, the operation wasn't actually "working" on sqlite, mysql prior to that rev, but no assertions checked. added assertions for those. --- test/orm/test_naturalpks.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/test/orm/test_naturalpks.py b/test/orm/test_naturalpks.py index d02ecb7075..ca88251d76 100644 --- a/test/orm/test_naturalpks.py +++ b/test/orm/test_naturalpks.py @@ -972,7 +972,7 @@ class JoinedInheritanceTest(_base.MappedTest): self._test_fk(True) # PG etc. need passive=True to allow PK->PK cascade - @testing.fails_on_everything_except('sqlite', 'mysql+zxjdbc', + @testing.fails_on_everything_except('sqlite', 'mysql+zxjdbc', 'oracle', 'postgresql+zxjdbc') def test_fk_nonpassive(self): self._test_fk(False) @@ -1026,13 +1026,18 @@ class JoinedInheritanceTest(_base.MappedTest): e1, e2, m1 ]) sess.commit() + + eq_(e1.boss_name, 'dogbert') + eq_(e2.boss_name, 'dogbert') + sess.expire_all() m1.name = 'pointy haired' e1.primary_language = 'scala' e2.primary_language = 'cobol' sess.commit() - + eq_(e1.boss_name, 'pointy haired') + eq_(e2.boss_name, 'pointy haired') -- 2.47.2