From b7a66c971a1a84fc1d1b7d127eddcbb6951e4828 Mon Sep 17 00:00:00 2001 From: Fei Long Wang Date: Mon, 27 Apr 2015 23:18:16 +1200 Subject: [PATCH] Fix duplicated test cases of notifier Change-Id: I7a2da87e55fab50ffd2313b649cf4be3a7d50783 --- zaqar/tests/unit/notification/test_notifier.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/zaqar/tests/unit/notification/test_notifier.py b/zaqar/tests/unit/notification/test_notifier.py index f705b575a..4ecd0759f 100644 --- a/zaqar/tests/unit/notification/test_notifier.py +++ b/zaqar/tests/unit/notification/test_notifier.py @@ -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])