()
| 95 | |
| 96 | |
| 97 | def test_executor_execute_dir(): |
| 98 | # type: () -> None |
| 99 | with temporary_dir() as temp_dir: |
| 100 | test_dir = os.path.realpath(os.path.join(temp_dir, "tmp")) |
| 101 | safe_mkdir(test_dir) |
| 102 | assert os.path.isdir(test_dir) |
| 103 | with pytest.raises(Executor.ExecutionError) as e: |
| 104 | Executor.execute(test_dir) |
| 105 | assert test_dir in str(e) |
nothing calls this directly
no test coverage detected