(tempdir_factory)
| 86 | |
| 87 | @pytest.fixture |
| 88 | def in_conflicting_submodule(tempdir_factory): |
| 89 | git_dir_1 = git_dir(tempdir_factory) |
| 90 | git_dir_2 = git_dir(tempdir_factory) |
| 91 | git_commit(msg=in_conflicting_submodule.__name__, cwd=git_dir_2) |
| 92 | cmd_output('git', 'submodule', 'add', git_dir_2, 'sub', cwd=git_dir_1) |
| 93 | with cwd(os.path.join(git_dir_1, 'sub')): |
| 94 | _make_conflict() |
| 95 | yield |
| 96 | |
| 97 | |
| 98 | @pytest.fixture |
nothing calls this directly
no test coverage detected