(self)
| 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 | |
| 50 | if __name__ == "__main__": |
nothing calls this directly
no outgoing calls
no test coverage detected