Commit 4a22e687 authored by Bezleputh's avatar Bezleputh Committed by Romain Bignon

[hybride] handle summer holyday in tests

parent 73cd8762
......@@ -17,15 +17,17 @@
# 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 import BackendTest
from datetime import datetime
from datetime import datetime, date
class HybrideTest(BackendTest):
BACKEND = 'hybride'
def test_hybride_list(self):
if > datetime(, 6, 30) and < datetime(, 9, 15):
raise SkipTest("Fermeture estivale")
l = list(self.backend.list_events(
assert len(l)
event = self.backend.get_event(l[0].id)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment