Skip to content

Commit 51f7574

Browse files
authored
Removed legacy file check
1 parent 2aba348 commit 51f7574

1 file changed

Lines changed: 0 additions & 19 deletions

File tree

tests/test_site_structure.py

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,6 @@
1313
"news-article-hero--contain",
1414
"news-article-hero--cover",
1515
}
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-
}
2816
REQUIRED_DOCUMENTATION = {
2917
"README.md",
3018
"SITE_STRUCTURE.md",
@@ -35,7 +23,6 @@
3523
"JOBS.md",
3624
"DEVELOPMENT.md",
3725
"STYLES_AND_ASSETS.md",
38-
"CLEANUP.md",
3926
"CV.md",
4027
}
4128

@@ -91,12 +78,6 @@ def test_all_liquid_includes_exist(self) -> None:
9178
missing.append(f"{path.relative_to(ROOT)} -> {target}")
9279
self.assertEqual(missing, [])
9380

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-
10081
def test_header_uses_only_current_dependencies(self) -> None:
10182
header = (ROOT / "_includes" / "header.html").read_text(encoding="utf-8")
10283
self.assertIn('<meta name="viewport"', header)

0 commit comments

Comments
 (0)