summaryrefslogtreecommitdiff
path: root/test/orm/inheritance/abc_polymorphic.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2008-05-09 16:34:10 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2008-05-09 16:34:10 +0000
commit4a6afd469fad170868554bf28578849bf3dfd5dd (patch)
treeb396edc33d567ae19dd244e87137296450467725 /test/orm/inheritance/abc_polymorphic.py
parent46b7c9dc57a38d5b9e44a4723dad2ad8ec57baca (diff)
downloadsqlalchemy-4a6afd469fad170868554bf28578849bf3dfd5dd.tar.gz
r4695 merged to trunk; trunk now becomes 0.5.
0.4 development continues at /sqlalchemy/branches/rel_0_4
Diffstat (limited to 'test/orm/inheritance/abc_polymorphic.py')
-rw-r--r--test/orm/inheritance/abc_polymorphic.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/test/orm/inheritance/abc_polymorphic.py b/test/orm/inheritance/abc_polymorphic.py
index 076c7b76b..367c2e73c 100644
--- a/test/orm/inheritance/abc_polymorphic.py
+++ b/test/orm/inheritance/abc_polymorphic.py
@@ -1,6 +1,6 @@
import testenv; testenv.configure_for_tests()
from sqlalchemy import *
-from sqlalchemy import exceptions, util
+from sqlalchemy import util
from sqlalchemy.orm import *
from testlib import *
from testlib import fixtures
@@ -32,8 +32,8 @@ class ABCTest(ORMTest):
else:
abc = bc = None
- mapper(A, a, select_table=abc, polymorphic_on=a.c.type, polymorphic_identity='a', polymorphic_fetch=fetchtype)
- mapper(B, b, select_table=bc, inherits=A, polymorphic_identity='b', polymorphic_fetch=fetchtype)
+ mapper(A, a, select_table=abc, polymorphic_on=a.c.type, polymorphic_identity='a')
+ mapper(B, b, select_table=bc, inherits=A, polymorphic_identity='b')
mapper(C, c, inherits=B, polymorphic_identity='c')
a1 = A(adata='a1')
@@ -82,8 +82,7 @@ class ABCTest(ORMTest):
return test_roundtrip
test_union = make_test('union')
- test_select = make_test('select')
- test_deferred = make_test('deferred')
+ test_none = make_test('none')
if __name__ == '__main__':