diff --git a/modules/biplan/test.py b/modules/biplan/test.py index 9f4bd11d..0b397d8b 100644 --- a/modules/biplan/test.py +++ b/modules/biplan/test.py @@ -17,7 +17,7 @@ # You should have received a copy of the GNU Affero General Public License # along with weboob. If not, see . - +from nose.plugins.skip import SkipTest from weboob.tools.test import BackendTest from datetime import datetime @@ -26,6 +26,8 @@ class BiplanTest(BackendTest): BACKEND = 'biplan' def test_biplan_list(self): + if datetime.now() > datetime(datetime.now().year, 7, 14) and datetime.now() < datetime(datetime.now().year, 9, 15): + raise SkipTest("Fermeture estivale") l = list(self.backend.list_events(datetime.now())) assert len(l) event = self.backend.get_event(l[0].id)