summaryrefslogtreecommitdiff
path: root/test/orm/inheritance/test_polymorph2.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2011-03-26 20:44:47 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2011-03-26 20:44:47 -0400
commite3dbb87d94e9caaec66bb141852fcd53caec3dea (patch)
tree46d9f6d4da068801a1cbe9e6a8cddc2d065b13e9 /test/orm/inheritance/test_polymorph2.py
parent0a695bb004a12a03c7493d647fed9ebdadca5fa0 (diff)
downloadsqlalchemy-e3dbb87d94e9caaec66bb141852fcd53caec3dea.tar.gz
- move _fixtures to work via the normal methods of _base.MappedTest, convert
all referncing tests to not use globals - tests that deal with pickle specifically load the fixture classes from test.lib.pickleable, which gets some more classes added - removed weird sa05 pickling tests that don't matter
Diffstat (limited to 'test/orm/inheritance/test_polymorph2.py')
-rw-r--r--test/orm/inheritance/test_polymorph2.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/orm/inheritance/test_polymorph2.py b/test/orm/inheritance/test_polymorph2.py
index 92af79ae1..8f707c1e8 100644
--- a/test/orm/inheritance/test_polymorph2.py
+++ b/test/orm/inheritance/test_polymorph2.py
@@ -1037,14 +1037,14 @@ class InheritingEagerTest(_base.MappedTest):
def test_basic(self):
"""test that Query uses the full set of mapper._eager_loaders when generating SQL"""
- class Person(_fixtures.Base):
+ class Person(_base.ComparableEntity):
pass
class Employee(Person):
def __init__(self, name='bob'):
self.name = name
- class Tag(_fixtures.Base):
+ class Tag(_base.ComparableEntity):
def __init__(self, label):
self.label = label
@@ -1094,9 +1094,9 @@ class MissingPolymorphicOnTest(_base.MappedTest):
)
def test_polyon_col_setsup(self):
- class A(_fixtures.Base):
+ class A(_base.ComparableEntity):
pass
- class B(_fixtures.Base):
+ class B(_base.ComparableEntity):
pass
class C(A):
pass