diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2009-11-03 04:57:09 +0000 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2009-11-03 04:57:09 +0000 |
commit | db2ff896446f3d7d36d84c7a1de93007a36942eb (patch) | |
tree | 1dd3acd20dede3e4068b1cc232904f1322ac1ef6 /test/orm/inheritance/test_basic.py | |
parent | cc9c615c5af8480c2a32d00a1f0d705f11676040 (diff) | |
download | sqlalchemy-db2ff896446f3d7d36d84c7a1de93007a36942eb.tar.gz |
revert r6466
Diffstat (limited to 'test/orm/inheritance/test_basic.py')
-rw-r--r-- | test/orm/inheritance/test_basic.py | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/test/orm/inheritance/test_basic.py b/test/orm/inheritance/test_basic.py index 99c6bf6bd..a682d38cb 100644 --- a/test/orm/inheritance/test_basic.py +++ b/test/orm/inheritance/test_basic.py @@ -101,19 +101,6 @@ class FalseDiscriminatorTest(_base.MappedTest): assert d1.type is False sess.expunge_all() assert sess.query(Ding).one() is not None - - def test_none_on_sub(self): - class Ding(object):pass - class Bat(Ding):pass - mapper(Ding, t1, polymorphic_on=t1.c.type, polymorphic_identity=False) - mapper(Bat, inherits=Ding, polymorphic_identity=True) - sess = create_session() - d1 = Ding() - sess.add(d1) - sess.flush() - assert d1.type is False - sess.expunge_all() - assert sess.query(Ding).one() is not None class PolymorphicSynonymTest(_base.MappedTest): @classmethod |