()
| 24 | |
| 25 | |
| 26 | def test_generate_image(): |
| 27 | if os.path.exists(IMG_PATH): |
| 28 | os.remove(IMG_PATH) |
| 29 | code2flow(os.path.abspath(__file__), |
| 30 | output_file=IMG_PATH, |
| 31 | hide_legend=True) |
| 32 | assert os.path.exists(IMG_PATH) |
| 33 | os.remove(IMG_PATH) |
| 34 | code2flow(os.path.abspath(__file__), |
| 35 | output_file=IMG_PATH, |
| 36 | hide_legend=False) |
| 37 | assert os.path.exists(IMG_PATH) |
| 38 | |
| 39 | |
| 40 | def test_not_installed(): |
nothing calls this directly
no test coverage detected