Skip to content

Commit 85dd3e7

Browse files
committed
tests(sync[git]) Use bare git repo
1 parent 43313a1 commit 85dd3e7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/sync/test_git.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,17 +174,17 @@ def test_repo_update_handle_cases(
174174
)
175175
def test_repo_update_stash_cases(
176176
tmp_path: pathlib.Path,
177-
create_git_remote_repo: CreateRepoPytestFixtureFn,
177+
create_git_remote_bare_repo: CreateRepoPytestFixtureFn,
178178
mocker: MockerFixture,
179179
has_untracked_files: bool,
180180
needs_stash: bool,
181181
has_remote_changes: bool,
182182
) -> None:
183183
"""Test GitSync.update_repo() stash cases."""
184-
git_remote_repo = create_git_remote_repo()
184+
git_bare_repo = create_git_remote_bare_repo()
185185

186186
git_repo: GitSync = GitSync(
187-
url=git_remote_repo.as_uri(),
187+
url=git_bare_repo.as_uri(),
188188
path=tmp_path / "myrepo",
189189
vcs="git",
190190
)

0 commit comments

Comments
 (0)