summaryrefslogtreecommitdiff
path: root/test/orm/test_backref_mutations.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2012-04-04 19:08:05 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2012-04-04 19:08:05 -0400
commitf7bb3b17e6df09caa56c20c722364fc52edf7afc (patch)
treeb35d3ccf96f54836b000b7a3416782ef60fcb825 /test/orm/test_backref_mutations.py
parent60922f7a991cac6500c856868de0ab37f1203cc7 (diff)
downloadsqlalchemy-f7bb3b17e6df09caa56c20c722364fc52edf7afc.tar.gz
- the inspect interface is done, needs docs.
- start dressing up InstanceState for it's coming out, start moving internal things to be underscored within the lib
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)