(name)
| 13 | logger = logging.getLogger() |
| 14 | |
| 15 | def has_executable(name): |
| 16 | path = shutil.which(name) |
| 17 | if path is None: |
| 18 | raise Exception(name + ": command not found") |
| 19 | return path |
| 20 | |
| 21 | # This is a decorator that will allow for logging tests, but flagging them as |
| 22 | # "known to fail". These tests legitimately fail and represent actual bugs, but |