diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2011-03-27 15:04:06 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2011-03-27 15:04:06 -0400 |
commit | a3083eabf467e7f36db0850342758ce162c3eef8 (patch) | |
tree | c5df6fc158ea92c4b4cc1ae0f7709a4cb25d8a5e /test/orm/inheritance/test_basic.py | |
parent | d0156a75ffab342e7ef299cdea9ee0a0b6f8bf0d (diff) | |
download | sqlalchemy-a3083eabf467e7f36db0850342758ce162c3eef8.tar.gz |
- move all the setup_classes(cls) and setup_mappers(cls) to use a
local cls.Basic, cls.Comparable base class so that there is no ambiguity
or hash identity behaviors getting in the way of class registration.
Diffstat (limited to 'test/orm/inheritance/test_basic.py')
-rw-r--r-- | test/orm/inheritance/test_basic.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/orm/inheritance/test_basic.py b/test/orm/inheritance/test_basic.py index 372adce56..de677048e 100644 --- a/test/orm/inheritance/test_basic.py +++ b/test/orm/inheritance/test_basic.py @@ -230,7 +230,7 @@ class PolymorphicAttributeManagementTest(_base.MappedTest): cls.tables.table_c, cls.tables.table_a) - class A(_base.ComparableEntity): + class A(cls.Comparable): pass class B(A): pass @@ -434,7 +434,7 @@ class GetTest(_base.MappedTest): @classmethod def setup_classes(cls): - class Foo(_base.BasicEntity): + class Foo(cls.Basic): pass class Bar(Foo): @@ -1570,7 +1570,7 @@ class NoPolyIdentInMiddleTest(_base.MappedTest): @classmethod def setup_classes(cls): - class A(_base.ComparableEntity): + class A(cls.Comparable): pass class B(A): pass |