http://hg.code.sf.net:8000/p/roundup/code/atom-log/tip/test/test_multipart.py Mercurial Repository: p/roundup/code: test/test_multipart.py history 2019-03-15T20:29:00-04:00 assert_ is depricated. Replacing with assertTrue to reduce logs in travisci. http://hg.code.sf.net:8000/p/roundup/code/#changeset-f8893e1cde0d05513a328bd4698dac10d94805b3 John Rouillard rouilj@ieee.org 2019-03-15T20:29:00-04:00 2019-03-15T20:29:00-04:00
changeset f8893e1cde0d
branch
bookmark
tag
user John Rouillard <rouilj@ieee.org>
description assert_ is depricated. Replacing with assertTrue to reduce logs in travisci.
files
Do not transcode binary email attachments (issue2551004). http://hg.code.sf.net:8000/p/roundup/code/#changeset-081be318661bd712500821e51eb2ae681732570a Joseph Myers jsm@polyomino.org.uk 2018-09-26T01:24:19+00:00 2018-09-26T01:24:19+00:00
changeset 081be318661b
branch
bookmark
tag
user Joseph Myers <jsm@polyomino.org.uk>
description Do not transcode binary email attachments (issue2551004).

Only transcode attachments if a charset is specified or if they have a
text/* content-type.
files
updated mailgw to no longer use mimetools based on jerrykan's patch http://hg.code.sf.net:8000/p/roundup/code/#changeset-725266c03eab7b5df86fa532c40123826ee7fc2b Christof Meerwald cmeerw@cmeerw.org 2018-08-12T16:15:10+01:00 2018-08-12T16:15:10+01:00
changeset 725266c03eab
branch
bookmark
tag
user Christof Meerwald <cmeerw@cmeerw.org>
description updated mailgw to no longer use mimetools based on jerrykan's patch
files
Python 3 preparation: StringIO. http://hg.code.sf.net:8000/p/roundup/code/#changeset-55f09ca366c484e1c06dd34a4efead3f1634d7d7 Joseph Myers jsm@polyomino.org.uk 2018-07-25T09:08:29+00:00 2018-07-25T09:08:29+00:00
changeset 55f09ca366c4
branch
bookmark
tag
user Joseph Myers <jsm@polyomino.org.uk>
description Python 3 preparation: StringIO.

This generally arranges for StringIO and cStringIO references to use
io.StringIO for Python 3 but io.BytesIO for Python 2, consistent with
the string representations generally used in Roundup. A special
FasterStringIO in the TAL code, which referenced internals of the old
Python 2 StringIO module, is cut down so it doesn't actually do
anything beyond the StringIO class it inherits from (it would also be
reasonable to remove FasterStringIO completely). One place in
roundup_server.py clearly needing binary I/O is made to use io.BytesIO
unconditionally.
files
Python 3 preparation: use // and __truediv__ as needed. http://hg.code.sf.net:8000/p/roundup/code/#changeset-2120f77554d5ebacd5bccdd7692716660a4f32a1 Joseph Myers jsm@polyomino.org.uk 2018-07-24T23:16:09+00:00 2018-07-24T23:16:09+00:00
changeset 2120f77554d5
branch
bookmark
tag
user Joseph Myers <jsm@polyomino.org.uk>
description Python 3 preparation: use // and __truediv__ as needed.

Tool-assisted patch. Those divisions that I thought must be integer
floor divisions and rely on Python 2 integer floor division semantics
are changed to use // (if any are actually meant to be floating-point
divisions, that would break things). One __div__ method is changed to
__truediv__ (with __div__ = __truediv__ for Python 2 compatibility).
files
Test entity code path in dehtml. http://hg.code.sf.net:8000/p/roundup/code/#changeset-5b4931cfc182956cf07adf01174992ba1da28f70 John Rouillard rouilj@ieee.org 2017-10-13T23:03:46-04:00 2017-10-13T23:03:46-04:00
changeset 5b4931cfc182
branch
bookmark
tag
user John Rouillard <rouilj@ieee.org>
description Test entity code path in dehtml.
files
Codecov showed text/html followed by text/plain not tested. Fixed bug http://hg.code.sf.net:8000/p/roundup/code/#changeset-91354bf0b6831f03fd47679eb975b7e58458755e John Rouillard rouilj@ieee.org 2017-10-13T22:56:42-04:00 2017-10-13T22:56:42-04:00
changeset 91354bf0b683
branch
bookmark
tag
user John Rouillard <rouilj@ieee.org>
description Codecov showed text/html followed by text/plain not tested. Fixed bug
discovered.

The html part was double attached. Removed an unneeded attachment
call. Added some more test cases. Reworked test code to make selecting
html filter tool easier.
files
issue2550799: provide basic support for handling html only emails http://hg.code.sf.net:8000/p/roundup/code/#changeset-e20f472fde7d9ed7e1e5120de2941181efdaeba7 John Rouillard rouilj@ieee.org 2017-10-13T21:46:59-04:00 2017-10-13T21:46:59-04:00
changeset e20f472fde7d
branch
bookmark
tag
user John Rouillard <rouilj@ieee.org>
description issue2550799: provide basic support for handling html only emails

Initial implementation and testing with the dehtml html converter
done.

The use of beautifulsoup 4 is not tested. My test system breaks when
running dehtml.py using beautiful soup. I don't get the failures when
running under the test harness, but the text output is significantly
different (different line breaks, number of newlines etc.)

The tests for dehtml need to be generated for beautiful soup and the
expected output changed. Since I have a wonky install of beautiful
soup, I don't trust my output as the standard to test against. Also
since beautiful soup is optional, the test harness needs to skip the
beautifulsoup tests if import bs4 fails. Again something outside of my
expertise. I deleted the work I had done to implement that. I could
not get it working and wanted to get this feature in in some form.
files
Remove unneeded TestSuite code from tests http://hg.code.sf.net:8000/p/roundup/code/#changeset-364c549918613cff81c3ebe07aee4025e0ef3fcc John Kristensen john@jerrykan.com 2015-08-21T13:08:02+10:00 2015-08-21T13:08:02+10:00
changeset 364c54991861
branch
bookmark
tag
user John Kristensen <john@jerrykan.com>
description Remove unneeded TestSuite code from tests

The TestSuite code is no longer needed now that we are using py.test
which can automatically discover tests
files
Rename TestMessage to ExampleMessage http://hg.code.sf.net:8000/p/roundup/code/#changeset-b5bb492e4b3cd42c37f1a2df42cee2bfb7e34715 John Kristensen john@jerrykan.com 2015-08-21T17:37:22+10:00 2015-08-21T17:37:22+10:00
changeset b5bb492e4b3c
branch
bookmark
tag
user John Kristensen <john@jerrykan.com>
description Rename TestMessage to ExampleMessage

When py.test is searching for tests it detects TestMessage as a
potential class with test cases because it has 'Test' in its name.
Because TestMessage contains a __init__ constructor py.test returns a
warning that it can't collect tests from it. Lets rename the class to
ExampleMessage to avoid this issue.
files
Remove keyword expansions from CVS. All regression tests passed afterwards. http://hg.code.sf.net:8000/p/roundup/code/#changeset-6e3e4f24c75376f61ae0bf0e9ee334567585c38e Eric S. Raymond esr@thyrsus.com 2011-11-16T09:51:38-05:00 2011-11-16T09:51:38-05:00
changeset 6e3e4f24c753
branch
bookmark
tag
user Eric S. Raymond <esr@thyrsus.com>
description Remove keyword expansions from CVS. All regression tests passed afterwards.
files
- some formatting http://hg.code.sf.net:8000/p/roundup/code/#changeset-0bb3054274b8ffce06d6d8540827f2c610fd79dd Ralf Schlatterbeck schlatterbeck@users.sourceforge.net 2010-10-06T14:13:09+00:00 2010-10-06T14:13:09+00:00
changeset 0bb3054274b8
branch
bookmark
tag
user Ralf Schlatterbeck <schlatterbeck@users.sourceforge.net>
description - some formatting

- fix broken regression-test for message/rfc822 in test_multipart -- the
rfc822 message must have its own header -- this is where we have to
look for the subject. This means we have to include a newline before
the Subject in the test-message, otherwise the Subject line is part of
the mime header, not part of the email attachment.
files
support for receiving OpenPGP MIME messages (signed or encrypted) http://hg.code.sf.net:8000/p/roundup/code/#changeset-6b39193283811b8d0611649cd5825787511c1f12 Justus Pendleton jpend@users.sourceforge.net 2007-09-22T07:25:35+00:00 2007-09-22T07:25:35+00:00
changeset 6b3919328381
branch
bookmark
tag
user Justus Pendleton <jpend@users.sourceforge.net>
description support for receiving OpenPGP MIME messages (signed or encrypted)

This introduces some new config options that still need to be documented.

This required a small fix for roundup's handling of MIME boundaries. The
multipart tests were changed to have boundaries that match this new handling.
files
*** empty log message *** http://hg.code.sf.net:8000/p/roundup/code/#changeset-30a444b7b212ced08fe03d84c5afa9d9b4bb0463 Johannes Gijsbers jlgijsbers@users.sourceforge.net 2004-01-17T13:49:06+00:00 2004-01-17T13:49:06+00:00
changeset 30a444b7b212
branch
bookmark
tag
user Johannes Gijsbers <jlgijsbers@users.sourceforge.net>
description *** empty log message ***
files
Backend improvements. http://hg.code.sf.net:8000/p/roundup/code/#changeset-f63aa57386b0b2c50eb311d6b407a12e9b5e45db Richard Jones richard@users.sourceforge.net 2003-10-25T22:53:26+00:00 2003-10-25T22:53:26+00:00
changeset f63aa57386b0
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description Backend improvements.

- using Zope3's test runner now, allowing GC checks, nicer controls and
coverage analysis
- all RDMBS backends now have indexes on several columns
- added testing of schema mutation, fixed rdbms backends handling of a
couple of cases
- !BETA! added postgresql backend, needs work !BETA!
files
removed Log http://hg.code.sf.net:8000/p/roundup/code/#changeset-9b910e8d987d9c68848931f69cc57243f04e6dee Richard Jones richard@users.sourceforge.net 2002-09-10T00:19:55+00:00 2002-09-10T00:19:55+00:00
changeset 9b910e8d987d
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description removed Log
files
stupid typo http://hg.code.sf.net:8000/p/roundup/code/#changeset-18134bffab37adb31b9748bde68b0d2f890b6d1e Richard Jones richard@users.sourceforge.net 2001-08-07T00:24:43+00:00 2001-08-07T00:24:43+00:00
changeset 18134bffab37
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description stupid typo
files
Added the copyright/license notice to (nearly) all files... http://hg.code.sf.net:8000/p/roundup/code/#changeset-d45384bc6420d1fe5aa6252310d04956315bdd69 Richard Jones richard@users.sourceforge.net 2001-08-07T00:15:51+00:00 2001-08-07T00:15:51+00:00
changeset d45384bc6420
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description Added the copyright/license notice to (nearly) all files...

...at request of Bizar Software.
files
Added vim command to all source so that we don't get no steenkin' tabs :) http://hg.code.sf.net:8000/p/roundup/code/#changeset-0791d13baea72ae994dbc9229f0f8603e0440a6d Richard Jones richard@users.sourceforge.net 2001-07-29T07:01:39+00:00 2001-07-29T07:01:39+00:00
changeset 0791d13baea7
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description Added vim command to all source so that we don't get no steenkin' tabs :)
files
Multipart message class has the getPart method now. Added some tests for it. http://hg.code.sf.net:8000/p/roundup/code/#changeset-19686b60e410dfdf8cc32a3120405eb67b66f9da Richard Jones richard@users.sourceforge.net 2001-07-28T06:43:02+00:00 2001-07-28T06:43:02+00:00
changeset 19686b60e410
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description Multipart message class has the getPart method now. Added some tests for it.
files