()
| 13 | reason="imaging only available on Windows and MacOS", |
| 14 | ) |
| 15 | def test_write_images(): |
| 16 | tmp_dir = tempfile.mkdtemp() |
| 17 | |
| 18 | info = {"name": "test", "version": "0.3.1"} |
| 19 | for key in ("welcome_image_text", "header_image_text"): |
| 20 | if key not in info: |
| 21 | info[key] = info["name"] |
| 22 | |
| 23 | write_images(info, tmp_dir) |
| 24 | |
| 25 | shutil.rmtree(tmp_dir) |
| 26 | |
| 27 | |
| 28 | if __name__ == "__main__": |
no test coverage detected