MCPcopy Create free account
hub / github.com/LineageOS/hudson / test_json

Method test_json

test.py:41–47  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

39 self.fail(f"Missing models in devices.json: {', '.join(models_missing)}")
40
41 def test_json(self):
42 for file in glob.glob("updater/*.json"):
43 with open(file, "r") as f:
44 try:
45 json.load(f)
46 except json.JSONDecodeError as e:
47 self.fail(f"Failed to load {file}")
48
49
50if __name__ == "__main__":

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected