~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_log.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-08-17 22:43:26 UTC
  • mfrom: (4617.1.2 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20090817224326-uhljmr5me5x3xyda
(robertc) Multiple 2a-as-default fixes. (Robert Collins)

Show diffs side-by-side

added added

removed removed

Lines of Context:
142
142
        lf = LogCatcher()
143
143
        log.show_log(wt.branch, lf, verbose=True)
144
144
        committed_msg = lf.revisions[0].rev.message
145
 
        if wt.branch.repository._serializer.squashes_xml_invalid_characters:
146
 
            self.assertNotEqual(msg, committed_msg)
147
 
            self.assertTrue(len(committed_msg) > len(msg))
148
 
        else:
149
 
            self.assertEqual(msg, committed_msg)
 
145
        self.assertNotEqual(msg, committed_msg)
 
146
        self.assertTrue(len(committed_msg) > len(msg))
150
147
 
151
148
    def test_commit_message_without_control_chars(self):
152
149
        wt = self.make_branch_and_tree('.')