Index: dashboard/dashboard/issue_tracker_service_test.py |
diff --git a/dashboard/dashboard/issue_tracker_service_test.py b/dashboard/dashboard/issue_tracker_service_test.py |
index 0861e33df88af0b25d06aaf1ea2d13b009a42c9c..f66b491bb33d0945c6ea76032a3f7cae00ba9c2c 100644 |
--- a/dashboard/dashboard/issue_tracker_service_test.py |
+++ b/dashboard/dashboard/issue_tracker_service_test.py |
@@ -21,7 +21,7 @@ class IssueTrackerServiceTest(testing_common.TestCase): |
self.assertTrue(service.AddBugComment(12345, 'The comment')) |
self.assertEqual(1, service._MakeCommentRequest.call_count) |
service._MakeCommentRequest.assert_called_with( |
- 12345, {'updates': {}, 'content': 'The comment'}) |
+ 12345, {'updates': {}, 'content': 'The comment'}, send_email=True) |
def testAddBugComment_WithNoBug_ReturnsFalse(self): |
service = issue_tracker_service.IssueTrackerService() |
@@ -45,7 +45,8 @@ class IssueTrackerServiceTest(testing_common.TestCase): |
'labels': ['Foo'], |
}, |
'content': 'Some other comment' |
- }) |
+ }, |
+ send_email=True) |
def testAddBugComment_MergeBug(self): |
service = issue_tracker_service.IssueTrackerService() |
@@ -60,7 +61,8 @@ class IssueTrackerServiceTest(testing_common.TestCase): |
'mergedInto': 54321, |
}, |
'content': 'Dupe' |
- }) |
+ }, |
+ send_email=True) |
@mock.patch('logging.error') |
def testAddBugComment_Error(self, mock_logging_error): |