(self, mocker, tmp_dir, dvc)
| 143 | assert not (tmp_dir / "data" / "not_cached.txt").exists() |
| 144 | |
| 145 | def test_force(self, mocker, tmp_dir, dvc): |
| 146 | (stage,) = tmp_dir.dvc_gen("data", {"foo": "foo"}) |
| 147 | |
| 148 | # change working directory |
| 149 | (tmp_dir / "data").gen("not_cached.txt", "not_cached") |
| 150 | assert main(["checkout", stage.relpath]) != 0 |
| 151 | assert (tmp_dir / "data" / "not_cached.txt").exists() |
| 152 | |
| 153 | |
| 154 | def test_checkout_selective_remove(tmp_dir, dvc): |