incubator-allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From john...@apache.org
Subject [29/40] git commit: [#6249] ticket:447 Fix test due to changes in notification email headers
Date Wed, 30 Oct 2013 17:00:47 GMT
[#6249] ticket:447 Fix test due to changes in notification email headers

Remove sender from send_digest and send_summary, since
they sent with 'noreply@sf.net' as from address,
which is stable already.


Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/c6bb15bc
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/c6bb15bc
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/c6bb15bc

Branch: refs/heads/cj/6777
Commit: c6bb15bc285e89ef6fb825997fc601568067fe80
Parents: dc017be
Author: Igor Bondarenko <jetmind2@gmail.com>
Authored: Fri Oct 4 15:24:47 2013 +0000
Committer: Tim Van Steenburgh <tvansteenburgh@gmail.com>
Committed: Tue Oct 29 03:57:09 2013 +0000

----------------------------------------------------------------------
 Allura/allura/model/notification.py            | 2 --
 Allura/allura/tests/model/test_notification.py | 2 ++
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/c6bb15bc/Allura/allura/model/notification.py
----------------------------------------------------------------------
diff --git a/Allura/allura/model/notification.py b/Allura/allura/model/notification.py
index 1315eec..e4db041 100644
--- a/Allura/allura/model/notification.py
+++ b/Allura/allura/model/notification.py
@@ -309,7 +309,6 @@ class Notification(MappedClass):
             fromaddr=from_address,
             reply_to=reply_to_address,
             subject=subject,
-            sender=self._sender(),
             message_id=h.gen_message_id(),
             text=text)
 
@@ -331,7 +330,6 @@ class Notification(MappedClass):
             fromaddr=from_address,
             reply_to=from_address,
             subject=subject,
-            sender=self._sender(),
             message_id=h.gen_message_id(),
             text=text)
 

http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/c6bb15bc/Allura/allura/tests/model/test_notification.py
----------------------------------------------------------------------
diff --git a/Allura/allura/tests/model/test_notification.py b/Allura/allura/tests/model/test_notification.py
index 57891b5..cf854b4 100644
--- a/Allura/allura/tests/model/test_notification.py
+++ b/Allura/allura/tests/model/test_notification.py
@@ -91,6 +91,7 @@ class TestNotification(unittest.TestCase):
                 subject='subject',
                 message_id='_id',
                 in_reply_to='in_reply_to',
+                sender='wiki@test.p.in.sf.net',
                 text='text footer',
             )
 
@@ -151,6 +152,7 @@ class TestNotification(unittest.TestCase):
                 subject='subject',
                 message_id='_id',
                 in_reply_to='in_reply_to',
+                sender='wiki@test.p.in.sf.net',
                 text='text footer',
             )
 


Mime
View raw message