This is an automated email from the ASF dual-hosted git repository.
brondsem pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/allura.git
The following commit(s) were added to refs/heads/master by this push:
new 3e04c3e Test fix for logging tweak
3e04c3e is described below
commit 3e04c3e4a3ce15806ab2e6ef665d8c0c911c90a7
Author: Dave Brondsema <[email protected]>
AuthorDate: Mon Nov 29 16:53:50 2021 +0000
Test fix for logging tweak
---
Allura/allura/tests/test_mail_util.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Allura/allura/tests/test_mail_util.py
b/Allura/allura/tests/test_mail_util.py
index c8568f4..16326a4 100644
--- a/Allura/allura/tests/test_mail_util.py
+++ b/Allura/allura/tests/test_mail_util.py
@@ -341,4 +341,4 @@ class TestMailServer(object):
mailserver.process_message('127.0.0.1', '[email protected]',
['[email protected]'],
'this is the email body with headers and
everything Ο'.encode('utf-8'))
assert_equal([], log.exception.call_args_list)
- log.info.assert_called_with('Msg passed along')
+ assert log.info.call_args[0][0].startswith('Msg passed along as task
'), log.info.call_args