summaryrefslogtreecommitdiff
path: root/src/mailman/testing
Commit message (Collapse)AuthorAgeFilesLines
...
* | Add a test for instance-containing pickle importAurélien Bompard2015-03-261-0/+0
|/
* We don't need the 'six' package any more.Barry Warsaw2015-01-042-3/+3
|
* Bump copyright years.Barry Warsaw2015-01-048-8/+8
|
* Remove huge amounts of now unnecessary file boilerplate.Barry Warsaw2014-12-226-41/+13
|
* Trunk merge.Barry Warsaw2014-12-221-21/+19
|\
| * * Fixed `AttributeError` on MIME digest messages. Given by Aurélien Bompard.Barry Warsaw2014-12-101-1/+24
| |\ | | | | | | | | | (LP: #1130696)
| | * LP: #1130696 - AttributeError on .senderBarry Warsaw2014-12-101-0/+23
| |/|
| | * Make the MIMEDigester generate a subclass of MIMEMultipart with our additionsAurélien Bompard2014-12-091-0/+22
| |/ | | | | | | Fixes bug #1130696 (differently)
* | Move internationalized digest tests to unittests.Barry Warsaw2014-12-201-0/+25
| |
* | Fix mta and lmtp tests.Barry Warsaw2014-12-171-11/+11
| |
* | Make sure that TestConfigurationErrors doesn't break global state.Barry Warsaw2014-12-161-0/+6
| |
* | Better, but not perfect handler test passing.Barry Warsaw2014-12-151-2/+3
| |
* | Fix some basic REST plumbing, and make test_rosters pass.Barry Warsaw2014-12-111-1/+4
| |
* | Checkpointing.Barry Warsaw2014-11-303-10/+9
|/ | | | | | | | | | By using `six` I think I have most of the imports squared away. There's probably still uses of `unicode` built-ins that need fixing. The idea is to first get the test suite running (which it doesn't yet), and then to fix tests. There's a bug in lazr.config which requires us to patch it for now.
* * Fixed Unicode errors in the digest runner and when sending messages to theBarry Warsaw2014-11-291-0/+5
| | | | | | | | | | | site owner as a fallback. Given by Aurélien Bompard. (LP: #1130957). Also: * Convert some uses of the unicode() built-in to bytes.decode() in preparation for Python 3 and to eliminate some pyflakes errors. * Added LogFileMark.read() as a convenience method.
* Trunk mergeBarry Warsaw2014-11-091-5/+0
|\
| * * You no longer have to edit `src/mailman/testing/testing.cfg` to run theBarry Warsaw2014-11-091-5/+0
| | | | | | | | | | | | | | | | | | | | | | test suite against PostgreSQL. See `src/mailman/docs/START.rst` for details. Also: * Test fixes. * Doc fixes. * PostgreSQL/model fixes.
* | Trunk merge.Barry Warsaw2014-11-081-0/+5
|\|
| * Tox-ify the test suite. Now you don't have to create a virtualenv separately.Barry Warsaw2014-11-071-0/+5
| | | | | | | | | | | | | | | | | | | | | | To do this, we have to handle random test ordering, since tox explicitly sets PYTHONHASHSEED. That's a good thing for the future Python 3 port. Removed `mailman conf -t/--sort`; now the output is always sorted. RFC 2369 headers are now sorted before being added. etag repr dicts are sorted using pprint.pformat().
* | Trunk merge.Barry Warsaw2014-11-022-3/+7
|\|
| * Remove some unnecessary code, and revert back to SQLite by default for theBarry Warsaw2014-11-012-6/+3
| | | | | | | | test suite.
| * DatabaseBarry Warsaw2014-11-012-3/+10
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -------- * The ORM layer, previously implemented with Storm, has been replaced by SQLAlchemy, thanks to the fantastic work by Abhilash Raj and Aurélien Bompard. Alembic is now used for all database schema migrations. * The new logger `mailman.database` logs any errors at the database layer. API --- * Several changes to the internal API: - `IListManager.mailing_lists` is guaranteed to be sorted in List-ID order. - `IDomains.mailing_lists` is guaranteed to be sorted in List-ID order. - Iteration over domains via the `IDomainManager` is guaranteed to be sorted by `IDomain.mail_host` order. - `ITemporaryDatabase` interface and all implementations are removed.
| | * SQLite by defaultBarry Warsaw2014-10-311-3/+3
| | |
| | * Merge in the last of Aurelien's changes, and make the test suite pass withBarry Warsaw2014-10-311-1/+1
| | | | | | | | | | | | PostgreSQL.
| | * Merge abompard's fixes to the Postgres test suite.Barry Warsaw2014-10-302-6/+7
| | |
| | * Remove some unnecessary code.Barry Warsaw2014-10-131-4/+1
| | |
| | * Merge Aurélien Bompard's latest merge branch, with some cleaning up by Barry.Barry Warsaw2014-10-132-2/+5
| | |\
| | | * Merge Barry's changesAurélien Bompard2014-10-131-1/+4
| | | |\ | | | |/ | | |/|
| | * | Merge Abhilash's latest revisions.Barry Warsaw2014-10-111-1/+1
| | | |
| | | * * remove migrate commandAbhilash Raj2014-10-101-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * remove alembic.cfg, move contents to schema.cfg * fix import errors in src/mailman/model/language.py * add indexes * change the previously wrong written tablename autoresponserecord * change alembic_cfg to use schema.cfg instead of alembic.cfg
| | | * Don't use a testing layer for database testsAurélien Bompard2014-10-061-55/+0
| | | |
| | | * Merge from Abhilash's branchAurélien Bompard2014-10-061-3/+3
| | | |\ | | | |/ | | |/|
| | * | add central alembic configAbhilash Raj2014-10-031-1/+1
| | | |
| | * | Migrations, with cleanup by Barry.Barry Warsaw2014-09-271-0/+4
| |/| |
| | | * Fix DB unit testsAurélien Bompard2014-10-061-4/+34
| | | |
| | | * New DB testing layer that does not auto-create the DBAurélien Bompard2014-10-031-0/+30
| | | |
| | | * Add support for postgresqlAbhilash Raj2014-09-251-3/+3
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | * revert changes in message_id_has encoding by barry * Change message_id_hash column to LargeBinary (from previously mistaken one i.e.unicode) * add missing import in database/types.py * fix a bug in database/Model.py, transaction has no method abort(), instead it is rollback()
| | * added support for migrations via alembicAbhilash Raj2014-09-241-0/+4
| |/
* / First pass at converting to falcon for the REST API layer.Barry Warsaw2014-08-121-2/+3
|/ | | | | Currently, only /<api>/system and its subpaths work, but basic auth does work too. Requires a refactoring modification to falcon.
* Use print functions consistently through, and update all __future__ imports toBarry Warsaw2014-04-282-11/+12
| | | | | | | | reflect this. Also, mock out sys.stderr on some tests so that their nose2 output is quieter. A few other minor coding style consistencies.
* Several internal improvements:Barry Warsaw2014-01-061-0/+2
| | | | | | | | | | | | | | | | | | | | | | * New events: - ConfirmationNeededEvent is triggered when a pendable requiring confirmation is created. This allows us to define an event handler for this event which sends the user notification. - SubscriptionEvent is triggered when a member is added to a mailing list. This lets us define an event handler which sends the welcome message. * send_welcome_message() now takes a member parameter instead of an address, which lets us directly access the member's delivery mode and user display name (if the member has a user, which it might not in some cases). * Use the list id in the pendable record instead of the list name for robustness (the latter can change but the former is permanent). * Test more registration conditions. * In the bin/runner command line switch handling, default `verbose` to None instead of False. This makes it work better with nose's -E switch (log to stderr). * In call_api(), if a POST, PUT, or PATCH method is used and data is None, encode the empty dictionary; seems like the behavior of urlencode() has changed, so this is safer. * Fix style and pyflakes warnings.
* Bump copyright years.Barry Warsaw2014-01-018-8/+8
|
* Fix a couple of intermittent test problems.Barry Warsaw2013-12-011-0/+2
|
* Merge branch contributed by Joanna Skrzeszewska.Barry Warsaw2013-11-271-0/+4
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Mailing lists can now individually enable or disable any archiver available site-wide. Contributed by Joanna Skrzeszewska. (LP: #1158040) Also: - IArchivers (i.e. system-wide archivers) now have an is_enabled attribute. - config.archivers now returns *all* archivers, including those that are disabled site-wide. This way, iterating over the list-specific archivers returns everything. - In the ini-file schema, make the default archiver class empty, otherwise the Prototype archiver is always enabled. - Added a `listarchiver` table to support list-specific archivers.
| * More fixes.Barry Warsaw2013-11-261-0/+4
| |
* | Do a better job of pattern matching for the nose2 -P plugin switch.Barry Warsaw2013-11-271-3/+7
|/
* * When --sort is used, watch out for continuation lines, which shouldn't getBarry Warsaw2013-10-182-28/+14
| | | | | | sorted. * Fix stderr output in sub-runners, and move the -e test option to -E.
* * Mailman 3 no longer uses ``zc.buildout`` and tests are now run by theBarry Warsaw2013-08-274-40/+284
|\ | | | | | | | | ``nose2`` test runner. See ``src/mailman/docs/START.rst`` for details on how to build Mailman and run the test suite.
| * * Suppress the extra Doctest: lines.Barry Warsaw2013-08-271-5/+5
| | | | | | | | * Use DocFileTest directly.
| * Add enough __init__.py files to make these docs directories discoverable.Barry Warsaw2013-08-261-0/+1
| |