File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change @@ -133,6 +133,35 @@ class ConfigVariationTest(t.NamedTuple):
133133 """ ,
134134 remote_list = ["git_scheme_repo" ],
135135 ),
136+ ConfigVariationTest (
137+ test_id = "expanded_repo_style_with_unprefixed_remote_3" ,
138+ config_tpl = """
139+ {tmp_path}/study/myrepo:
140+ {CLONE_NAME}:
141+ repo: git+file://{dir}
142+ remotes:
143+ git_scheme_repo: user@myhostname.de:org/repo.git
144+ """ ,
145+ remote_list = ["git_scheme_repo" ],
146+ ),
147+ ConfigVariationTest (
148+ test_id = "expanded_repo_style_with_unprefixed_repo" ,
149+ config_tpl = """
150+ {tmp_path}/study/myrepo:
151+ {CLONE_NAME}:
152+ repo: user@myhostname.de:org/repo.git
153+ """ ,
154+ remote_list = ["git_scheme_repo" ],
155+ ),
156+ ConfigVariationTest (
157+ test_id = "expanded_repo_style_with_prefixed_repo_3_with_prefix" ,
158+ config_tpl = """
159+ {tmp_path}/study/myrepo:
160+ {CLONE_NAME}:
161+ repo: git+ssh://user@myhostname.de:org/repo.git
162+ """ ,
163+ remote_list = ["git_scheme_repo" ],
164+ ),
136165]
137166
138167
You can’t perform that action at this time.
0 commit comments