equal
deleted
inserted
replaced
726 else: |
726 else: |
727 erschema.set_action_permissions(action, permissions) |
727 erschema.set_action_permissions(action, permissions) |
728 |
728 |
729 def assertModificationDateGreater(self, entity, olddate): |
729 def assertModificationDateGreater(self, entity, olddate): |
730 entity.cw_attr_cache.pop('modification_date', None) |
730 entity.cw_attr_cache.pop('modification_date', None) |
731 self.assertTrue(entity.modification_date > olddate) |
731 self.assertGreater(entity.modification_date, olddate) |
732 |
732 |
733 def assertMessageEqual(self, req, params, expected_msg): |
733 def assertMessageEqual(self, req, params, expected_msg): |
734 msg = req.session.data[params['_cwmsgid']] |
734 msg = req.session.data[params['_cwmsgid']] |
735 self.assertEqual(expected_msg, msg) |
735 self.assertEqual(expected_msg, msg) |
736 |
736 |