Merge "Fix duplicated test cases of notifier"

This commit is contained in:
Jenkins 2015-05-27 07:39:22 +00:00 committed by Gerrit Code Review
commit f02acf32f2

View File

@ -52,13 +52,13 @@ class NotifierTest(testing.TestBase):
self.client_uuid, self.project) self.client_uuid, self.project)
mock_post.assert_called_with(self.subscription[0]['subscriber'], mock_post.assert_called_with(self.subscription[0]['subscriber'],
self.messages[0]) self.messages[0])
mock_post.assert_called_with(self.subscription[0]['subscriber'],
self.messages[0])
mock_post.assert_called_with(self.subscription[1]['subscriber'], mock_post.assert_called_with(self.subscription[1]['subscriber'],
self.messages[0]) self.messages[0])
mock_post.assert_called_with(self.subscription[1]['subscriber'],
self.messages[1])
mock_post.assert_called_with(self.subscription[2]['subscriber'], mock_post.assert_called_with(self.subscription[2]['subscriber'],
self.messages[0])
mock_post.assert_called_with(self.subscription[0]['subscriber'],
self.messages[1])
mock_post.assert_called_with(self.subscription[1]['subscriber'],
self.messages[1]) self.messages[1])
mock_post.assert_called_with(self.subscription[2]['subscriber'], mock_post.assert_called_with(self.subscription[2]['subscriber'],
self.messages[1]) self.messages[1])