mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
cache: separate save() and checkout() (#5412)
This commit is contained in:
@@ -168,6 +168,6 @@ def test_restore_pull(tmp_dir, dvc, run_copy, mocker, local_remote):
|
||||
|
||||
mock_restore.assert_called_once_with(stage, pull=True)
|
||||
mock_run.assert_not_called()
|
||||
mock_checkout.assert_called_once()
|
||||
assert mock_checkout.call_count == 2
|
||||
assert (tmp_dir / "bar").exists() and not (tmp_dir / "foo").unlink()
|
||||
assert (tmp_dir / PIPELINE_LOCK).exists()
|
||||
|
||||
Reference in New Issue
Block a user