We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 477165c commit 75de5b2Copy full SHA for 75de5b2
tests/integration/steps/test_remote_step.py
@@ -0,0 +1,9 @@
1
+from repo_smith.initialize_repo import initialize_repo
2
+
3
4
+def test_remote_step_valid():
5
+ ir = initialize_repo("tests/specs/remote_step/remote_step_valid.yml")
6
+ with ir.initialize() as r:
7
+ assert len(r.remotes) == 1
8
+ assert r.remotes[0].name == "upstream"
9
+ assert r.remotes[0].url == "https://github.com/git-mastery/repo-smith.git"
tests/specs/remote_step/remote_step_valid.yml
@@ -0,0 +1,8 @@
+initialization:
+ steps:
+ - type: commit
+ empty: true
+ message: Empty
+ - type: remote
+ remote-name: upstream
+ remote-url: https://github.com/git-mastery/repo-smith.git
0 commit comments