[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!
[1]
- # Mock registration-failed call
reactor_ mock = self.mocker. patch(self. reactor)
reactor_ mock.fire( "registration- failed" )
+ # Mock registration-failed call. why? I don't know.
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!