Comment 2 for bug 344323

Revision history for this message
Gustavo Niemeyer (niemeyer) wrote :

[1]

- # Mock registration-failed call
+ # Mock registration-failed call. why? I don't know.
         reactor_mock = self.mocker.patch(self.reactor)
         reactor_mock.fire("registration-failed")

This is apparently the only place where that registration-failed which you fire in the "else" case. If you comment this mocking, the tests pass without firing the event.

+1!