(size: tuple[int, int], color: str = "white")
| 13 | |
| 14 | |
| 15 | def _make_image_bytes(size: tuple[int, int], color: str = "white") -> bytes: |
| 16 | image = Image.new("RGB", size, color=color) |
| 17 | buffer = BytesIO() |
| 18 | image.save(buffer, format="PNG") |
| 19 | return buffer.getvalue() |
| 20 | |
| 21 | |
| 22 | class VeoLiteModelResolverTests(unittest.TestCase): |
no outgoing calls
no test coverage detected