(tempdir_factory)
| 255 | |
| 256 | @pytest.fixture |
| 257 | def push_example(tempdir_factory): |
| 258 | src = git_dir(tempdir_factory) |
| 259 | git_commit(cwd=src) |
| 260 | src_head = git.head_rev(src) |
| 261 | |
| 262 | clone = tempdir_factory.get() |
| 263 | cmd_output('git', 'clone', src, clone) |
| 264 | git_commit(cwd=clone) |
| 265 | clone_head = git.head_rev(clone) |
| 266 | return (src, src_head, clone, clone_head) |
| 267 | |
| 268 | |
| 269 | def test_run_ns_pre_push_updating_branch(push_example): |
nothing calls this directly
no test coverage detected