-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Back-sync seems to be fulling working e2e with test
- Loading branch information
1 parent
f2fccca
commit 69125a8
Showing
4 changed files
with
33 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import shutil | ||
from pathlib import Path | ||
|
||
import pytest | ||
from git import Repo | ||
|
||
from flexlate_dev.gitutils import stage_and_commit_all | ||
from tests.config import COPIER_ONE_DIR, GENERATED_FILES_DIR | ||
|
||
|
||
@pytest.fixture | ||
def copier_one_template_repo(copier_one_template_path: Path) -> Repo: | ||
path = copier_one_template_path | ||
repo = Repo.init(path) | ||
stage_and_commit_all(repo, "Initial commit") | ||
yield repo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters