summaryrefslogtreecommitdiff
path: root/src/mailman/commands/tests/test_control.py
Commit message (Collapse)AuthorAgeFilesLines
* Convert to click for CLI optionsBarry Warsaw2017-07-221-244/+0
|
* Bump up stale lock expiration date.Barry Warsaw2017-01-091-1/+1
| | | | | | Hopefully this will help fix intermittent failures on the Gitlab CI runners. 2 minutes appears to be too short since the MySQL tests can take longer than that to get to the lock claim attempt.
* Bump copyright years.Barry Warsaw2017-01-041-1/+1
|
* Prevent the occasional CI/testsuite hang.Barry Warsaw2016-12-031-3/+55
| | | | | | This doesn't solve the underlying problem of why child processes (both runners and master) occasionally don't exit, but it prevents ugly timeouts in the CI infrastructure when that happens.
* Use contextlib.suppress() where appropriate.Barry Warsaw2016-04-301-13/+3
|
* Import order flake8 plugin.Barry Warsaw2016-03-271-2/+2
| | | | Fix lots of import order errors discovered by the new plugin.
* Clean up the commands subdirectory.Barry Warsaw2016-03-241-20/+6
|
* Happy New Year.Barry Warsaw2016-01-021-1/+1
|
* Revert "Fix issue #3 by searching for the 'master' script in several possible"Barry Warsaw2015-11-011-1/+56
| | | | | | This reverts commit 8c471e067c4b31064c2f69c0afd048a7e756a429. The fix wasn't correct. Now we have a test for the expected behavior.
* Bump copyright years.Barry Warsaw2015-01-041-1/+1
|
* Remove huge amounts of now unnecessary file boilerplate.Barry Warsaw2014-12-221-4/+1
|
* Use print functions consistently through, and update all __future__ imports toBarry Warsaw2014-04-281-2/+3
| | | | | | | | reflect this. Also, mock out sys.stderr on some tests so that their nose2 output is quieter. A few other minor coding style consistencies.
* Bump copyright years.Barry Warsaw2014-01-011-1/+1
|
* Bump copyright years.Barry Warsaw2013-01-011-1/+1
|
* copybumpBarry Warsaw2012-01-011-1/+1
|
* Remove extraneous `test_suite()` functions. zope.testrunner willBarry Warsaw2011-10-301-8/+0
| | | | | | | | | automatically do the right thing in most cases. Keep test_suite() in test_documentation.py since these dynamically set up docs tests properly. Refactor test_passwords.py so that base class tests aren't bogusly run. Also, remove test_membership.py which was essentially disabled because it was testing the MM2 membership API.
* * `bin/mailman start --force` option is fixed. (LP: #869317)Barry Warsaw2011-10-161-0/+171
* acquire_lock_1(): No need to unlink the tempfile * Start.process(): Don't print error message when the lock is in stale_lock or host_mismatch status and --force has been given. * control.rst: Refactor test code into test_control.py. * test_create.py: To more accurately mimic argparse, FakeParser.error() needs to `sys.exit(1)`. The `SystemExit` must also be caught in the appropriate tests. * logging.py: Locking is now down by the flufl.lock package, so apply the `mailman.lock` configuration to it.