()
| 38 | |
| 39 | |
| 40 | def test_not_installed(): |
| 41 | if os.path.exists(IMG_PATH): |
| 42 | os.remove(IMG_PATH) |
| 43 | tmp_path = os.environ['PATH'] |
| 44 | os.environ['PATH'] = '' |
| 45 | with pytest.raises(AssertionError): |
| 46 | code2flow(os.path.abspath(__file__), |
| 47 | output_file=IMG_PATH) |
| 48 | os.environ['PATH'] = tmp_path |
| 49 | |
| 50 | |
| 51 | def test_invalid_extension(): |
nothing calls this directly
no test coverage detected