|
13 | 13 | "news-article-hero--contain", |
14 | 14 | "news-article-hero--cover", |
15 | 15 | } |
16 | | -REMOVED_LEGACY_PATHS = { |
17 | | - "_layouts/simple.html", |
18 | | - "_includes/reference_paper.html", |
19 | | - "_includes/pub/pub.html", |
20 | | - "_includes/pub/pub_bib.html", |
21 | | - "css/academicons.min.css", |
22 | | - "scripts/migrate_legacy_publications.py", |
23 | | - "assets/data/publications.json", |
24 | | - "assets/js/publications.js", |
25 | | - "boyle_lab.ico", |
26 | | - "F-Seq/bffBuilder.tgz", |
27 | | -} |
28 | 16 | REQUIRED_DOCUMENTATION = { |
29 | 17 | "README.md", |
30 | 18 | "SITE_STRUCTURE.md", |
|
35 | 23 | "JOBS.md", |
36 | 24 | "DEVELOPMENT.md", |
37 | 25 | "STYLES_AND_ASSETS.md", |
38 | | - "CLEANUP.md", |
39 | 26 | "CV.md", |
40 | 27 | } |
41 | 28 |
|
@@ -91,12 +78,6 @@ def test_all_liquid_includes_exist(self) -> None: |
91 | 78 | missing.append(f"{path.relative_to(ROOT)} -> {target}") |
92 | 79 | self.assertEqual(missing, []) |
93 | 80 |
|
94 | | - def test_known_legacy_files_are_absent(self) -> None: |
95 | | - self.assertEqual( |
96 | | - [path for path in sorted(REMOVED_LEGACY_PATHS) if (ROOT / path).exists()], |
97 | | - [], |
98 | | - ) |
99 | | - |
100 | 81 | def test_header_uses_only_current_dependencies(self) -> None: |
101 | 82 | header = (ROOT / "_includes" / "header.html").read_text(encoding="utf-8") |
102 | 83 | self.assertIn('<meta name="viewport"', header) |
|
0 commit comments