✨ Suppression de la partie légal

This commit is contained in:
Orionis committed 2026-11-16 21:42:28 +01:00
1 parent 0c5189d9ca
commit d0a95adeb9
36 files changed
+73 -572

No files matched your search

+1 -1
View File
@@ -7,7 +7,7 @@ from scalper.cleaner import clean_chapter, detect_language
class TestCleaner(unittest.TestCase):
def setUp(self):
raw = (resources.files("scalper") / "data" / "demo" / "chapter-1.html").read_text(encoding="utf-8")
self.chapter = clean_chapter(raw, {"source": "demo", "license": "fixture"})
self.chapter = clean_chapter(raw, {"source": "demo"})
def test_boilerplate_removed(self):
text = self.chapter.full_text().lower()