From 17d3c8764e020379e54053bca0b0a2bc71d48aa0 Mon Sep 17 00:00:00 2001 From: Jason Kirtland Date: Sat, 12 Jan 2008 22:03:42 +0000 Subject: - testbase is gone, replaced by testenv - Importing testenv has no side effects- explicit functions provide similar behavior to the old immediate behavior of testbase - testing.db has the configured db - Fixed up the perf/* scripts --- test/orm/inheritance/concrete.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/orm/inheritance/concrete.py') diff --git a/test/orm/inheritance/concrete.py b/test/orm/inheritance/concrete.py index c68ff46c0..e1ab870c3 100644 --- a/test/orm/inheritance/concrete.py +++ b/test/orm/inheritance/concrete.py @@ -1,4 +1,4 @@ -import testbase +import testenv; testenv.configure_for_tests() from sqlalchemy import * from sqlalchemy.orm import * from testlib import * @@ -113,9 +113,9 @@ class ConcreteTest(ORMTest): def go(): c2 = session.query(Company).get(c.id) assert set([repr(x) for x in c2.employees]) == set(["Engineer Kurt knows how to hack", "Manager Tom knows how to manage things"]) - self.assert_sql_count(testbase.db, go, 1) + self.assert_sql_count(testing.db, go, 1) if __name__ == '__main__': - testbase.main() + testenv.main() -- cgit v1.2.1