diff --git a/tests/modules/test_sitecrawler.py b/tests/modules/test_sitecrawler.py index d4e0335..2471123 100644 --- a/tests/modules/test_sitecrawler.py +++ b/tests/modules/test_sitecrawler.py @@ -19,6 +19,7 @@ files = [ ("base/config/test6.bpr", "", None), ("base/config/test7.yml", "", None), ("base/templates/test8.yml", "", None), + ("base/unparsable.php", "", ""), ] @@ -96,6 +97,7 @@ def test_result_crawler(list_files, env): """ crw = sitecrawler.SiteCrawler(_BASE, _DEST, env) crw.set_all_preparsers() + crw.copy_unparsable_files() for pp, dest in crw: assert os.path.exists(dest) assert os.path.isfile(dest)