(tmpdir)
| 24 | |
| 25 | |
| 26 | def test_simple_case(tmpdir): |
| 27 | x = tmpdir.join('f') |
| 28 | x.write('#!/usr/bin/env echo') |
| 29 | make_executable(x.strpath) |
| 30 | assert parse_shebang.parse_filename(x.strpath) == ('echo',) |
| 31 | |
| 32 | |
| 33 | def test_find_executable_full_path(): |
nothing calls this directly
no test coverage detected