(path)
| 141 | |
| 142 | |
| 143 | def _norm_pwd(path): |
| 144 | # Under windows bash's temp and windows temp is different. |
| 145 | # This normalizes to the bash /tmp |
| 146 | return cmd_output_b( |
| 147 | 'bash', '-c', f"cd '{path}' && pwd", |
| 148 | )[1].strip() |
| 149 | |
| 150 | |
| 151 | def test_cwd_of_hook(in_git_dir, tempdir_factory, store): |
no test coverage detected