8000 tests(sync[git]) Use bare git repo · vcs-python/libvcs@10bf5c1 · GitHub
[go: up one dir, main page]

Skip to content

Commit 10bf5c1

Browse files
committed
tests(sync[git]) Use bare git repo
1 parent 30d1889 commit 10bf5c1

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
@@ -172,17 +172,17 @@ def test_repo_update_handle_cases(
172172
)
173173
def test_repo_update_stash_cases(
174174
tmp_path: pathlib.Path,
175-
create_git_remote_repo: CreateRepoPytestFixtureFn,
175+
create_git_remote_bare_repo: CreateRepoPytestFixtureFn,
176176
mocker: MockerFixture,
177177
has_untracked_files: bool,
178178
needs_stash: bool,
179179
has_remote_changes: bool,
180180
) -> None:
181181
"""Test GitSync.update_repo() stash cases."""
182-
git_remote_repo = create_git_remote_repo()
182+
git_bare_repo = create_git_remote_bare_repo()
183183

184184
git_repo: GitSync = GitSync(
185-
url=git_remote_repo.as_uri(),
185+
url=git_bare_repo.as_uri(),
186186
path=tmp_path / "myrepo",
187187
vcs="git",
188188
)

0 commit comments

Comments
 (0)
0