diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2010-10-02 01:30:17 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2010-10-02 01:30:17 -0400 |
commit | 19d5287d833110507d8ed7b64d31871f67d3f171 (patch) | |
tree | 346f67e1a25df1022030e451dd872d5778b80379 | |
parent | 761b4f29e295cfaa774a9a2fec713f9055548387 (diff) | |
download | sqlalchemy-19d5287d833110507d8ed7b64d31871f67d3f171.tar.gz |
- 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.
-rw-r--r-- | test/orm/test_naturalpks.py | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/test/orm/test_naturalpks.py b/test/orm/test_naturalpks.py index d02ecb707..ca88251d7 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') |