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 @@ -128,6 +128,35 @@ class ConfigVariationTest(t.NamedTuple):
128128 """ ,
129129 remote_list = ["git_scheme_repo" ],
130130 ),
131+ ConfigVariationTest (
132+ test_id = "expanded_repo_style_with_unprefixed_remote_3" ,
133+ config_tpl = """
134+ {tmp_path}/study/myrepo:
135+ {CLONE_NAME}:
136+ repo: git+file://{dir}
137+ remotes:
138+ git_scheme_repo: user@myhostname.de:org/repo.git
139+ """ ,
140+ remote_list = ["git_scheme_repo" ],
141+ ),
142+ ConfigVariationTest (
143+ test_id = "expanded_repo_style_with_unprefixed_repo" ,
144+ config_tpl = """
145+ {tmp_path}/study/myrepo:
146+ {CLONE_NAME}:
147+ repo: user@myhostname.de:org/repo.git
148+ """ ,
149+ remote_list = ["git_scheme_repo" ],
150+ ),
151+ ConfigVariationTest (
152+ test_id = "expanded_repo_style_with_prefixed_repo_3_with_prefix" ,
153+ config_tpl = """
154+ {tmp_path}/study/myrepo:
155+ {CLONE_NAME}:
156+ repo: git+ssh://user@myhostname.de:org/repo.git
157+ """ ,
158+ remote_list = ["git_scheme_repo" ],
159+ ),
131160]
132161
133162
You can’t perform that action at this time.
0 commit comments