def setUp(self): self.client = DummyNotificationClient() self.client.factory = msn.NotificationFactory() self.client.state = 'START'
def _createNotificationFac(): fac = msn.NotificationFactory() fac.userHandle = USER_HANDLE fac.password = PASSWORD fac.protocol = Notification return fac