summaryrefslogtreecommitdiff
path: root/test/orm/inheritance/abc_inheritance.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/orm/inheritance/abc_inheritance.py')
-rw-r--r--test/orm/inheritance/abc_inheritance.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/orm/inheritance/abc_inheritance.py b/test/orm/inheritance/abc_inheritance.py
index dbe74dc80..5f7a10756 100644
--- a/test/orm/inheritance/abc_inheritance.py
+++ b/test/orm/inheritance/abc_inheritance.py
@@ -1,9 +1,10 @@
-import testbase
+import testenv; testenv.configure_for_tests()
from sqlalchemy import *
from sqlalchemy.orm import *
from sqlalchemy.orm.sync import ONETOMANY, MANYTOONE
from testlib import *
+
def produce_test(parent, child, direction):
"""produce a testcase for A->B->C inheritance with a self-referential
relationship between two of the classes, using either one-to-many or
@@ -165,4 +166,4 @@ for parent in ["a", "b", "c"]:
if __name__ == "__main__":
- testbase.main()
+ testenv.main()