]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
correct this test case
authorChris Withers <chris@simplistix.co.uk>
Mon, 12 Apr 2010 22:22:44 +0000 (23:22 +0100)
committerChris Withers <chris@simplistix.co.uk>
Mon, 12 Apr 2010 22:22:44 +0000 (23:22 +0100)
test/ext/test_declarative.py

index f7c21b44152c7ac6365b675303eb309404bab250..e67b00a0a9bed2a4de2a148eb5f33740540f4344 100644 (file)
@@ -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')