summaryrefslogtreecommitdiff
path: root/test/orm/inheritance/test_basic.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/orm/inheritance/test_basic.py')
-rw-r--r--test/orm/inheritance/test_basic.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/orm/inheritance/test_basic.py b/test/orm/inheritance/test_basic.py
index fc4aae17d..213f2ebf4 100644
--- a/test/orm/inheritance/test_basic.py
+++ b/test/orm/inheritance/test_basic.py
@@ -985,6 +985,14 @@ class PKDiscriminatorTest(_base.MappedTest):
assert a.id
assert a.type == 2
+ p.name='p1new'
+ a.name='a1new'
+ s.flush()
+
+ s.expire_all()
+ assert a.name=='a1new'
+ assert p.name=='p1new'
+
class DeleteOrphanTest(_base.MappedTest):
@classmethod