diff options
Diffstat (limited to 'nova/tests/fixtures/notifications.py')
-rw-r--r-- | nova/tests/fixtures/notifications.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nova/tests/fixtures/notifications.py b/nova/tests/fixtures/notifications.py index c46b3a919d..817982d4ff 100644 --- a/nova/tests/fixtures/notifications.py +++ b/nova/tests/fixtures/notifications.py @@ -39,7 +39,7 @@ class _Sub(object): def received(self, notification): with self._cond: self._notifications.append(notification) - self._cond.notifyAll() + self._cond.notify_all() def wait_n(self, n, event, timeout): """Wait until at least n notifications have been received, and return @@ -170,8 +170,8 @@ class FakeVersionedNotifier(FakeNotifier): 'test case which is different from the currently running test ' 'case %s. This notification is ignored. The sender test case ' 'probably leaked a running eventlet that emitted ' - 'notifications after the test case finished. Now this eventlet' - 'is terminated by raising this exception.' % + 'notifications after the test case finished. Now this ' + 'eventlet is terminated by raising this exception.' % (event_type, sender_test_case_id, self.test_case_id)) payload = self._serializer.serialize_entity(ctxt, payload) |