Skip to content

Commit

Permalink
tests: fix index.remove misuse
Browse files Browse the repository at this point in the history
  • Loading branch information
efiop authored Jan 22, 2020
1 parent a99fa4e commit d942542
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/func/test_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def test_update_import_after_remote_updates_to_dvc(tmp_dir, dvc, erepo_dir):

new_rev = None
with erepo_dir.branch("branch", new=False), erepo_dir.chdir():
erepo_dir.scm.repo.index.remove("version")
erepo_dir.scm.repo.index.remove(["version"])
erepo_dir.dvc_gen("version", "updated")
erepo_dir.scm.add(["version", "version.dvc"])
erepo_dir.scm.commit("upgrade to DVC tracking")
Expand Down

0 comments on commit d942542

Please sign in to comment.