mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-20 18:59:07 -05:00
fix: give the home page a descriptive title
This commit is contained in:
1 parent
e56621de42
commit
d5dd16dbdb
2 files changed
+13
-1
No files matched your search
@@ -232,5 +232,15 @@ class TheSitemapIsAnnouncedWhereCrawlersLook(unittest.TestCase):
|
||||
self.assertNotIn("Sitemap: https://", source)
|
||||
|
||||
|
||||
|
||||
class TheHomeTitleSaysWhatTheSiteIs(unittest.TestCase):
|
||||
def test_not_the_site_name_twice(self):
|
||||
from generate_site import SITE_NAME, _browser_title
|
||||
|
||||
title = _browser_title(Path("index.md"), SITE_NAME)
|
||||
self.assertNotEqual(title, SITE_NAME)
|
||||
self.assertIn("BIOS", title)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
Reference in new issue
Block a user