(tempdir_factory)
| 32 | |
| 33 | @pytest.fixture |
| 34 | def out_of_date(tempdir_factory): |
| 35 | path = make_repo(tempdir_factory, 'python_hooks_repo') |
| 36 | original_rev = git.head_rev(path) |
| 37 | |
| 38 | git_commit(cwd=path) |
| 39 | head_rev = git.head_rev(path) |
| 40 | |
| 41 | yield auto_namedtuple( |
| 42 | path=path, original_rev=original_rev, head_rev=head_rev, |
| 43 | ) |
| 44 | |
| 45 | |
| 46 | @pytest.fixture |
nothing calls this directly
no test coverage detected