Rev 4607: Turn test of 8 bit commit messages in test_log into a KnownFailure. in http://bazaar.launchpad.net/~lifeless/bzr/test-log
Robert Collins
robertc at robertcollins.net
Fri Aug 14 05:53:22 BST 2009
At http://bazaar.launchpad.net/~lifeless/bzr/test-log
------------------------------------------------------------
revno: 4607
revision-id: robertc at robertcollins.net-20090814045318-2hys5g1krz9fu3ij
parent: pqm at pqm.ubuntu.com-20090814002017-l0qxa8jj76sige97
committer: Robert Collins <robertc at robertcollins.net>
branch nick: test-log
timestamp: Fri 2009-08-14 14:53:18 +1000
message:
Turn test of 8 bit commit messages in test_log into a KnownFailure.
=== modified file 'bzrlib/tests/test_log.py'
--- a/bzrlib/tests/test_log.py 2009-05-08 13:39:32 +0000
+++ b/bzrlib/tests/test_log.py 2009-08-14 04:53:18 +0000
@@ -142,6 +142,9 @@
lf = LogCatcher()
log.show_log(wt.branch, lf, verbose=True)
committed_msg = lf.revisions[0].rev.message
+ if msg == committed_msg:
+ raise tests.KnownFailure(
+ "Commit message was preserved, but it wasn't expected to be.")
self.assertNotEqual(msg, committed_msg)
self.assertTrue(len(committed_msg) > len(msg))
More information about the bazaar-commits
mailing list