Barry Warsaw pushed to branch click-cli at mailman / Mailman
Commits: 969a7600 by Barry Warsaw at 2017-07-07T22:49:48-04:00 Fix test for click locale. - - - - - 1 changed file: - src/mailman/app/docs/hooks.rst Changes: ===================================== src/mailman/app/docs/hooks.rst ===================================== --- a/src/mailman/app/docs/hooks.rst +++ b/src/mailman/app/docs/hooks.rst @@ -53,8 +53,11 @@ script that will produce no output to force the hooks to run. >>> from mailman.testing.layers import ConfigLayer >>> def call(): ... exe = os.path.join(os.path.dirname(sys.executable), 'mailman') - ... env = dict(MAILMAN_CONFIG_FILE=config_path, - ... PYTHONPATH=config_directory) + ... env = dict( + ... MAILMAN_CONFIG_FILE=config_path, + ... PYTHONPATH=config_directory, + ... LANG=os.environ['LANG'], + ... ) ... test_cfg = os.environ.get('MAILMAN_EXTRA_TESTING_CFG') ... if test_cfg is not None: ... env['MAILMAN_EXTRA_TESTING_CFG'] = test_cfg View it on GitLab: https://gitlab.com/mailman/mailman/commit/969a7600a4e175d016d642540413a3903d6e9122 --- View it on GitLab: https://gitlab.com/mailman/mailman/commit/969a7600a4e175d016d642540413a3903d6e9122 You're receiving this email because of your account on gitlab.com.
_______________________________________________ Mailman-checkins mailing list Mailman-checkins@python.org Unsubscribe: https://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org