mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-26 11:28:51 -06:00
chore: move new tests onto the shared test helpers
This commit is contained in:
1 parent
98775b7e4d
commit
589174c369
4 files changed
+5
-5
No files matched your search
@@ -134,7 +134,7 @@ class SourceRevisionReadsEveryShape(unittest.TestCase):
|
||||
them so, the scrapers' required_revision did not."""
|
||||
url = "https://raw.githubusercontent.com/ROCKNIX/distribution/20250101/f"
|
||||
self.assertEqual(required_revision(url, "rocknix/distribution"), "20250101")
|
||||
with tempfile.TemporaryDirectory(dir=TMP_ROOT) as tmp:
|
||||
with tempfile.TemporaryDirectory() as tmp:
|
||||
path = Path(tmp, "p.yml")
|
||||
path.write_text(f"source: {url}\n")
|
||||
self.assertEqual(scraped_revision(path, "rocknix/Distribution"), "20250101")
|
||||
|
||||
Reference in new issue
Block a user