sobjects/test/unittest_supervising.py
branchstable
changeset 2102 268659907769
parent 1977 606923dff11b
child 2773 b2530e3e0afb
child 2920 64322aa83a1d
--- a/sobjects/test/unittest_supervising.py	Thu Jun 11 19:07:47 2009 +0200
+++ b/sobjects/test/unittest_supervising.py	Thu Jun 11 19:10:30 2009 +0200
@@ -45,7 +45,7 @@
         view = sentops[0]._get_view()
         self.assertEquals(view.recipients(), ['test@logilab.fr'])
         self.assertEquals(view.subject(), '[data supervision] changes summary')
-        data = view.render(changes=session.query_data('pendingchanges')).strip()
+        data = view.render(changes=session.transaction_data.get('pendingchanges')).strip()
         data = re.sub('#\d+', '#EID', data)
         data = re.sub('/\d+', '/EID', data)
         self.assertTextEquals('''user admin has made the following change(s):