(tempdir_factory, touch_file='foo', **kwargs)
| 122 | |
| 123 | |
| 124 | def _get_commit_output(tempdir_factory, touch_file='foo', **kwargs): |
| 125 | open(touch_file, 'a').close() |
| 126 | cmd_output('git', 'add', touch_file) |
| 127 | return git_commit( |
| 128 | fn=cmd_output_mocked_pre_commit_home, |
| 129 | check=False, |
| 130 | tempdir_factory=tempdir_factory, |
| 131 | **kwargs, |
| 132 | ) |
| 133 | |
| 134 | |
| 135 | # osx does this different :( |
no test coverage detected