Rev 38: Fix test suite ERRORs. in file:///net/bigmamac/Volumes/home/vila/.bazaar/plugins/email/

Vincent Ladeuil v.ladeuil+lp at free.fr
Mon Dec 8 17:04:31 GMT 2008


At file:///net/bigmamac/Volumes/home/vila/.bazaar/plugins/email/

------------------------------------------------------------
revno: 38
revision-id: v.ladeuil+lp at free.fr-20081208170431-9rq3an9wuxkl809e
parent: v.ladeuil+lp at free.fr-20080925101927-m93y89e718a1vtq6
committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
branch nick: email
timestamp: Mon 2008-12-08 18:04:31 +0100
message:
  Fix test suite ERRORs.
  
  * testemail.py:
  (TestGetTo.get_sender): '\r' are now illegal (and cought as such)
  in commit messages (since bzr at 3854 fixing bug #295161).
-------------- next part --------------
=== modified file 'tests/testemail.py'
--- a/tests/testemail.py	2008-05-21 08:39:45 +0000
+++ b/tests/testemail.py	2008-12-08 17:04:31 +0000
@@ -149,7 +149,7 @@
     def get_sender(self, text=sample_config):
         self.branch = BzrDir.create_branch_convenience('.')
         tree = self.branch.bzrdir.open_workingtree()
-        tree.commit('foo bar baz\nfuzzy\rwuzzy', rev_id='A',
+        tree.commit('foo bar baz\nfuzzy\nwuzzy', rev_id='A',
             allow_pointless=True,
             timestamp=1,
             timezone=0,



More information about the bazaar-commits mailing list