summaryrefslogtreecommitdiff
path: root/test/orm/mapper.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/orm/mapper.py')
-rw-r--r--test/orm/mapper.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/orm/mapper.py b/test/orm/mapper.py
index 5bb33b241..58f0f8411 100644
--- a/test/orm/mapper.py
+++ b/test/orm/mapper.py
@@ -451,7 +451,7 @@ class MapperTest(MapperSuperTest):
def populate_instance(self, mapper, selectcontext, row, instance, **flags):
"""test options at the Mapper._instance level"""
instance.TEST = "hello world"
- return EXT_PASS
+ return EXT_CONTINUE
mapper(User, users, extension=ext1(), properties={
'addresses':relation(mapper(Address, addresses), lazy=False)
})
@@ -462,7 +462,7 @@ class MapperTest(MapperSuperTest):
def populate_instance(self, mapper, selectcontext, row, instance, **flags):
"""test options at the Mapper._instance level"""
instance.TEST_2 = "also hello world"
- return EXT_PASS
+ return EXT_CONTINUE
l = sess.query(User).options(extension(testext())).select_by(x=5)
assert l == "HI"
l = sess.query(User).options(extension(testext())).get(7)