Skip to content

Commit

Permalink
add initial commit to proj_path fixture
Browse files Browse the repository at this point in the history
  • Loading branch information
PythonFZ committed Sep 13, 2022
1 parent 6279208 commit 4c40c9a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,7 @@ def proj_path(tmp_path, request) -> pathlib.Path:
subprocess.check_call(["git", "init"])
subprocess.check_call(["dvc", "init"])

subprocess.check_call(["git", "add", "."])
subprocess.check_call(["git", "commit", "-m", "init"])

return tmp_path

0 comments on commit 4c40c9a

Please sign in to comment.