aboutsummaryrefslogtreecommitdiffstats
path: root/test_archivemail.py
Commit message (Collapse)AuthorAgeFilesLines
* Added maintainer entry in setup.py. Nikolaus Schulz2006-10-121-0/+1
| | | | | Updated copyright notices in archivemail.py and test_archivemail.py.
* Fixed unittest failure by updating --suffix testcase: archivemail used to expandNikolaus Schulz2006-10-011-2/+8
| | | | | | date directives in the suffix to the current date, but rev. 94 changed that to the archive cut off date. Based on analysis by Peter Poeml. Thanks, Peter.
* Removed a test rule that says we can confidently archive messagesPaul Rodger2002-10-301-4/+0
| | | | | | older than the unix epoch. (New versions of python return OverFlow error instead)
* We now call mkdir() to create a temporary directory to store any generatedPaul Rodger2002-05-201-37/+0
| | | | | tempfiles. This should be a lot more secure.
* Fixed a bug where archivemail would abort if it got a date headerPaul Rodger2002-05-071-0/+9
| | | | | with a completely blank value.
* Added a --size option to only archive messages over a certain byte size.Paul Rodger2002-04-291-0/+69
|
* Added a lot more tests to test_archivemail.py.Paul Rodger2002-04-281-129/+442
|
* Fixed a bug where the long --suffix option was not working (although thePaul Rodger2002-04-271-203/+249
| | | | | | | | | | | short option, '-s' was). Added time-based format directives to the --suffix option, so that you can do things like specify --suffix='%B%Y' to create archives named after the current month and year. Added some more tests to test_archivemail.py
* Fixed bugs where archivemail would refuse to work on python version less thanPaul Rodger2002-04-261-13/+17
| | | | | 2.2.
* Added another test, got ready for 0.4.2 release.Paul Rodger2002-04-241-5/+18
|
* Added a lot more system tests.Paul Rodger2002-04-241-95/+265
| | | | | | Hopefully I haven't gone too overboard with 957 lines of testing code for a 1100 line program :)
* Added the ability to archive messages older than a given absolute date withPaul Rodger2002-04-231-35/+125
| | | | | | the new option '--date' and fixed a bug where archivemail would complain about messages older than 1970.
* Got ready for release of version 4.1 in a couple of days.Paul Rodger2002-04-191-2/+4
|
* Grouped together tests more into their respective classes.Paul Rodger2002-04-171-187/+99
|
* Added an option '--no-compress' if you don't want gzipped archives.Paul Rodger2002-04-171-11/+246
| | | | | | Added an option '--preserve-unread' to always preserved (don't archive) unread messages.
* Added docbook documentation from which we can generate a manpage.Paul Rodger2002-04-121-3/+6
|
* Stopped calling gzip externally and started using the 'gzip' modulePaul Rodger2002-04-121-73/+2
| | | | | | directly. Removed bzip2 and compress support since they were complicating things and you don't really need them much anyway.
* Getting ready for v0.3 release.Paul Rodger2002-04-111-1/+10
|
* We now have 37 tests, including chmod() tests to make sure permissionsPaul Rodger2002-04-111-66/+161
| | | | | on original mbox mailboxes have been preserved.
* Added a couple more (possibly stupid) tests and added docstrings forPaul Rodger2002-04-091-28/+116
| | | | | all existing tests so it looks nicer when run verbosely.
* We now preserve the last-accessed and last-modified timestamps correctly.Paul Rodger2002-04-081-0/+424
Fixed a bug where lockfiles were being created that were not world-readable. Made archivemail work better when used as a python module so it can integrate better with unittest. Renamed unittest script 'test_archivemail' instead of 'archivemail_test' and added about 20 more tests.