Remove unused function

_assertNotifySeen was not being called.

Change-Id: I1f76aede7d1d3e6092c8e2bafa4af6c5eb5b74a3
This commit is contained in:
Steve Martinelli 2014-08-06 02:16:55 -04:00
parent 305d983d3e
commit e926d9d15f

View File

@ -180,12 +180,6 @@ class NotificationsForEntities(test_v3.RestfulTestCase):
self.useFixture(mockpatch.PatchObject(
notifications, '_send_notification', fake_notify))
def _assertNotifySeen(self, resource_id, operation, resource_type):
self.assertIn(operation, self.exp_operations)
self.assertIn(resource_id, self.exp_resource_ids)
self.assertIn(resource_type, self.exp_resource_types)
self.assertTrue(self.send_notification_called)
def _assertLastNotify(self, resource_id, operation, resource_type):
self.assertTrue(len(self._notifications) > 0)
note = self._notifications[-1]