mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-20 16:47:49 -06:00
fix: hold the site tests to Sony console pages
Tests that built a maker's page with sections used Sony, which now gives each console a page: they use Sega, which keeps its sections. A Sony fixture split by console leaked its recorded pages into the index tests that followed. Built-page checks read the cards on the console pages and the opening lines on the Sony summary.
This commit is contained in:
1 parent
531edaa1ad
commit
36788a3cac
4 files changed
+22
-13
No files matched your search
@@ -289,7 +289,7 @@ class BuiltPagesReadInFewerWords(unittest.TestCase):
|
||||
def test_a_built_card_holds_its_hashes(self) -> None:
|
||||
if not (DIST / "systems").is_dir():
|
||||
self.skipTest("no built site")
|
||||
main = _main("systems/sony")
|
||||
main = _main("systems/sony-playstation-portable")
|
||||
card = main[main.index('id="sha1-30a33f3651f8"'):]
|
||||
card = card[:card.index('class="rb-sys-file"')]
|
||||
self.assertRegex(card, r'<dd class="rb-hash">30a33f3651f8</dd>')
|
||||
|
||||
Reference in new issue
Block a user