def METHOD_NAME(self):
    # noinspection PyUnresolvedReferences
    with patch.object(self.plugin.tracker, u'login',
                      side_effect=NnmClubLoginFailedException(173, u'Invalid login or password')):
        credentials = {u'username': helper.real_username, u'password': helper.real_password}
        self.assertEqual(self.plugin.update_credentials(credentials), LoginResult.Unknown)