[MERGE] Support Claws as a mail client.

Aaron Bentley aaron at aaronbentley.com
Thu Jan 8 00:27:45 GMT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

John Arbash Meinel wrote:
> The only other thing I might add to the test would be an actual
> non-ascii character to the "commandline_is_8bit" test. You could use
> something like u"\xb5" (aka ยต).

Gavin's branch was updated as you suggested, but this causes it to fail
when LANG=C:

$ LANG=C ./bzr selftest TestClaws --no-plugins
testing: /home/abentley/bzr/mail-client-claws/bzr
   /home/abentley/bzr/mail-client-claws/bzrlib (1.11dev python2.5.2)

FAIL: test_mail_client.TestClaws.test_commandline_is_8bit
    not equal:
a = ['--compose',
 'mailto:jrandom at example.org?subject=%C2%B5cosm%20of%20fun%21',
 '--attach',
 'file%']
b = ['--compose',
 'mailto:jrandom at example.org?subject=%3Fcosm%20of%20fun%21',
 '--attach',
 'file%']



======================================================================
FAIL: test_commandline_is_8bit (bzrlib.tests.test_mail_client.TestClaws)

vvvv[log from
bzrlib.tests.test_mail_client.TestClaws.test_commandline_is_8bit]

^^^^[log from
bzrlib.tests.test_mail_client.TestClaws.test_commandline_is_8bit]
- ----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/home/abentley/bzr/mail-client-claws/bzrlib/tests/test_mail_client.py",
line 207, in test_commandline_is_8bit
    cmdline)
AssertionError: not equal:
a = ['--compose',
 'mailto:jrandom at example.org?subject=%C2%B5cosm%20of%20fun%21',
 '--attach',
 'file%']
b = ['--compose',
 'mailto:jrandom at example.org?subject=%3Fcosm%20of%20fun%21',
 '--attach',
 'file%']

As a result, I haven't been able to land it so far.  How much do you
want this?

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkllSH4ACgkQ0F+nu1YWqI2IVQCdGbmbHJd/cssqAzybQ9Gd7z+V
v/8An0R61p19OxLuZwNT9OtJ5SHbQ4RA
=yzQI
-----END PGP SIGNATURE-----



More information about the bazaar mailing list