From: Mike Bayer Date: Sat, 2 Oct 2010 05:30:17 +0000 (-0400) Subject: - this test began working for oracle as of r14af1f73fbbd. Additionally, X-Git-Tag: rel_0_6_5~28 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=19d5287d833110507d8ed7b64d31871f67d3f171;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git - 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. --- 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')