Fix duplicated test cases of notifier

Change-Id: I7a2da87e55fab50ffd2313b649cf4be3a7d50783
This commit is contained in:
Fei Long Wang 2015-04-27 23:18:16 +12:00
parent 5b7181e66e
commit b7a66c971a

View File

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