mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-17 00:43:29 -05:00
fix: require the jsonschema format checkers
This commit is contained in:
1 parent
a0af1b141e
commit
d610aad990
7 files changed
+59
-5
No files matched your search
@@ -318,5 +318,13 @@ class RepeatedDestinations(unittest.TestCase):
|
||||
self.assertEqual(diff.files_changed, ["pce/syscard3.pce"])
|
||||
|
||||
|
||||
class PinsWithExtras(unittest.TestCase):
|
||||
def test_an_extras_bracket_keeps_its_pin(self):
|
||||
from check_freshness import parse_pip_pins # noqa: PLC0415
|
||||
|
||||
pins = parse_pip_pins(' run: pip install pyyaml "jsonschema[format-nongpl]==4.26.0"')
|
||||
self.assertEqual(pins["jsonschema"], "==4.26.0")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
Reference in new issue
Block a user