summaryrefslogtreecommitdiff
path: root/test/orm/inheritance5.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2007-02-10 23:39:06 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2007-02-10 23:39:06 +0000
commit1da55184e52ae6698ab02c368a43b0c037b17049 (patch)
treeff3c9b90f1a6aaa5e9b50a21f489568eee50f783 /test/orm/inheritance5.py
parent648805f8b4d85aaaa221d2587e45259897d6b9f9 (diff)
downloadsqlalchemy-1da55184e52ae6698ab02c368a43b0c037b17049.tar.gz
- implemented foreign_keys argument on relation() [ticket:385]
- PropertyLoader figures out accurate remote_side collection based on foreign_keys, legacy foreignkey, primary/secondaryjoin/polymorphic - reworked lazyloader, sync to work straight off foreign_keys/ remote_side collections
Diffstat (limited to 'test/orm/inheritance5.py')
-rw-r--r--test/orm/inheritance5.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/orm/inheritance5.py b/test/orm/inheritance5.py
index 6c093bf9d..29bec2aa8 100644
--- a/test/orm/inheritance5.py
+++ b/test/orm/inheritance5.py
@@ -43,7 +43,7 @@ class RelationTest1(testbase.ORMTest):
try:
compile_mappers()
except exceptions.ArgumentError, ar:
- assert str(ar) == "Cant determine relation direction for 'manager' on mapper 'Mapper|Person|people' with primary join 'people.manager_id = managers.person_id' - foreign key columns are present in both the parent and the child's mapped tables. Specify 'foreignkey' argument."
+ assert str(ar) == "Cant determine relation direction for relationship 'Person.manager (Manager)' - foreign key columns are present in both the parent and the child's mapped tables. Specify 'foreign_keys' argument."
clear_mappers()