summaryrefslogtreecommitdiff
path: root/test/orm/test_backref_mutations.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/orm/test_backref_mutations.py')
-rw-r--r--test/orm/test_backref_mutations.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/orm/test_backref_mutations.py b/test/orm/test_backref_mutations.py
index c633cb8ee..b3214984f 100644
--- a/test/orm/test_backref_mutations.py
+++ b/test/orm/test_backref_mutations.py
@@ -551,7 +551,7 @@ class M2MCollectionMoveTest(_fixtures.FixtureTest):
# list is still here.
eq_(
set(attributes.instance_state(i1).
- pending['keywords'].added_items),
+ _pending_mutations['keywords'].added_items),
set([k2])
)
# because autoflush is off, k2 is still
@@ -564,7 +564,7 @@ class M2MCollectionMoveTest(_fixtures.FixtureTest):
# the pending collection was removed
assert 'keywords' not in attributes.\
instance_state(i1).\
- pending
+ _pending_mutations
def test_duplicate_adds(self):
Item, Keyword = (self.classes.Item, self.classes.Keyword)