diff --git a/modules/free/browser.py b/modules/free/browser.py
index 44054c6d1dddbf9352d9471867c81b1f76f672f6..d8a0609804ef105b6f6887d9db732a84e71d79a5 100644
--- a/modules/free/browser.py
+++ b/modules/free/browser.py
@@ -17,9 +17,10 @@
# You should have received a copy of the GNU Lesser General Public License
# along with this weboob module. If not, see .
+from __future__ import unicode_literals
from weboob.browser import LoginBrowser, URL, need_login
-from weboob.exceptions import BrowserIncorrectPassword
+from weboob.exceptions import BrowserIncorrectPassword, BrowserUnavailable
from .pages import LoginPage, HomePage, ConsolePage, SuiviPage, DocumentsPage, ProfilePage
@@ -53,6 +54,8 @@ def do_login(self):
error = self.page.get_error()
if error and 'mot de passe' in error:
raise BrowserIncorrectPassword(error)
+ if error and 'reeconnecter' in error:
+ raise BrowserUnavailable(error)
raise AssertionError('Unhandled behavior at login: error is "{}"'.format(error))
elif self.documents.is_here():
diff --git a/modules/free/module.py b/modules/free/module.py
index 5a3125b1171e53774e13fdb1e9890efe81f2f5db..817b3878e63b9b57f0dd6721358c1d8f1f6916cf 100644
--- a/modules/free/module.py
+++ b/modules/free/module.py
@@ -17,6 +17,7 @@
# You should have received a copy of the GNU Lesser General Public License
# along with this weboob module. If not, see .
+from __future__ import unicode_literals
from weboob.capabilities.bill import DocumentTypes, CapDocument, Subscription, Document, SubscriptionNotFound, DocumentNotFound
from weboob.capabilities.profile import CapProfile
diff --git a/modules/free/test.py b/modules/free/test.py
deleted file mode 100644
index 2d02ddcd0a469840ba1babf94f3ed2a37df9b331..0000000000000000000000000000000000000000
--- a/modules/free/test.py
+++ /dev/null
@@ -1,28 +0,0 @@
-# -*- coding: utf-8 -*-
-
-# Copyright(C) 2012-2020 Budget Insight
-#
-# This file is part of a weboob module.
-#
-# This weboob module is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Lesser General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-#
-# This weboob module is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public License
-# along with this weboob module. If not, see .
-
-
-from weboob.tools.test import BackendTest
-
-
-class FreeTest(BackendTest):
- MODULE = 'free'
-
- def test_free(self):
- raise NotImplementedError()