mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-17 08:53:28 -05:00
chore: fail when the readme loses its contributors
This commit is contained in:
1 parent
03275fe0b3
commit
08761e250f
1 file changed
+2
-2
@@ -2153,8 +2153,8 @@ class ContributorsSurviveAFailedRequest(unittest.TestCase):
|
||||
def test_the_committed_readme_still_carries_its_contributors(self):
|
||||
"""Regenerating offline must never be the reason this disappears."""
|
||||
text = (ROOT / "README.md").read_text()
|
||||
if "## Contributors" not in text:
|
||||
self.skipTest("README carries no contributors section")
|
||||
# Missing is the failure this guards, never a reason to skip.
|
||||
self.assertIn("## Contributors", text)
|
||||
self.assertGreater(
|
||||
text.count('<a href="https://github.com/'), 0,
|
||||
"the section is present but empty",
|
||||
|
||||
Reference in new issue
Block a user