Fixed bux for debian, setup.py: pipx install

Signed-off-by: Václav Valíček <valicek1994@gmail.com>
This commit is contained in:
2022-08-08 14:12:19 +02:00
parent 76cbda80cc
commit be404eb5e3
4 changed files with 21 additions and 9 deletions

View File

@@ -433,7 +433,7 @@ def test_open_initialized(cloner_dir_with_config, path_repo_base, caplog):
hashed = gen_repo_hashed_name(path_repo_base.as_uri())
path = cloner_dir_with_config.joinpath("repos", hashed).as_posix()
mock.config.cloner_repo_url = path_repo_base.as_uri()
r = git.Repo().clone_from(path_repo_base.as_uri(), path, bare = True)
r = git.Repo.clone_from(path_repo_base.as_uri(), path, bare = True)
commit = r.head.commit.hexsha
assert r.bare
c = Cloner(mock)