From: Chris Withers Date: Mon, 12 Apr 2010 22:22:44 +0000 (+0100) Subject: correct this test case X-Git-Tag: rel_0_6_0~23^2~13 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5762c9c12b71414e8f84de5d967f40dce22c4cef;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git correct this test case --- diff --git a/test/ext/test_declarative.py b/test/ext/test_declarative.py index f7c21b4415..e67b00a0a9 100644 --- a/test/ext/test_declarative.py +++ b/test/ext/test_declarative.py @@ -2282,17 +2282,14 @@ class DeclarativeMixinTest(DeclarativeTestBase): return cls.__name__.lower() class BaseType(Base, TableNameMixin): - __tablename__ = 'base' discriminator = Column('python_type', String(50)) __mapper_args__= dict(polymorphic_on=discriminator) id = Column(Integer, primary_key=True) value = Column(Integer()) class SpecificType1(BaseType): - __tablename__ = 'type1' __mapper_args__ = dict(polymorphic_identity='type1') class SpecificType2(BaseType): - __tablename__ = 'type2' __mapper_args__ = dict(polymorphic_identity='type2')