Skip to content

Commit f53b274

Browse files
committed
test better initial git
1 parent 0aae68c commit f53b274

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

infrahub_sdk/testing/repository.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def init(self) -> None:
7171
)
7272
dest_path.chmod(0o755)
7373
print(dest)
74-
74+
7575
porcelain.init(str(dest_path))
7676
repo = porcelain.open_repo(str(dest_path))
7777

@@ -82,7 +82,6 @@ def init(self) -> None:
8282

8383
self._repo = GitRepoManager(str(dest_path), branch=self.initial_branch)
8484

85-
8685
files = list(porcelain.get_untracked_paths(self._repo.git.path, self._repo.git.path, repo.open_index()))
8786
print(files)
8887
files_to_add = [str(Path(self._repo.git.path) / t) for t in files]

0 commit comments

Comments
 (0)