(self, tmp_dir, scm, dvc)
| 60 | scm.gitpython.repo.git.commit(m="file modified") |
| 61 | |
| 62 | def test_post_checkout(self, tmp_dir, scm, dvc): |
| 63 | tmp_dir.dvc_gen({"file": "file content"}, commit="add") |
| 64 | os.unlink("file") |
| 65 | dvc.install() |
| 66 | |
| 67 | scm.gitpython.git.checkout("-b", "new_branch") |
| 68 | |
| 69 | assert os.path.isfile("file") |
| 70 | |
| 71 | def test_pre_push_hook(self, tmp_dir, scm, dvc, tmp_path_factory): |
| 72 | temp = tmp_path_factory.mktemp("external") |