@@ -0,0 +1,1039 @@
+# -*- coding: utf-8 -*-%0Aimport scrapper%0A%0Adef test_scrapper():%0A    p = scrapper.Pleniere('20130717-1')%0A%0A    assert p.id == '20130717-1'%0A    assert p.title == 'P157 - Questions, projets et propositions de loi, votes'%0A%0A    assert p.date.day == 17%0A    assert p.date.month == 07%0A    assert p.date.year == 2013%0A    assert p.date.hour == 14%0A    assert p.date.minute == 15%0A%0A    assert p.stream == 'mms://193.191.129.52/Archive/20130717-1_bb_pl.wmv'%0A    assert p.webm == '20130717-1_bb_pl.webm'%0A%0A    assert len(p.agenda) == 160%0A%0A    def check_agenda(agenda, time, name, section=None, subsection=None):%0A        assert agenda.time == time%0A        assert agenda.name == name%0A        assert agenda.section == section%0A        assert agenda.subsection == subsection%0A%0A    check_agenda(p.agenda%5B0%5D, 87, 'Voorzitter - Pr%C3%A9sident')%0A    check_agenda(p.agenda%5B2%5D, 237, 'Beno%C3%AEt DR%C3%88ZE', None, 'prestation de serment')%0A    check_agenda(p.agenda%5B-1%5D, 25033, 'Voorzitter - Pr%C3%A9sident', 'votes: projets/propositions',%0A            '2945 - Convention travail maritime')%0A

add test_scrapper.py