Skip to content

Commit 30b561b

Browse files
committed
tests(config-variations): Git schemes in repo URLs
1 parent 119d821 commit 30b561b

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

tests/test_sync.py

+20
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,26 @@ class ConfigVariationTest(t.NamedTuple):
119119
""",
120120
remote_list=["git_scheme_repo"],
121121
),
122+
ConfigVariationTest(
123+
test_id="expanded_repo_style_with_unprefixed_remote_3",
124+
config_tpl="""
125+
{tmp_path}/study/myrepo:
126+
{CLONE_NAME}:
127+
repo: git+file://{dir}
128+
remotes:
129+
git_scheme_repo: [email protected]:django/website.git
130+
""",
131+
remote_list=["git_scheme_repo"],
132+
),
133+
ConfigVariationTest(
134+
test_id="expanded_repo_style_with_unprefixed_remote_3",
135+
config_tpl="""
136+
{tmp_path}/study/myrepo:
137+
{CLONE_NAME}:
138+
repo: [email protected]:django/website.git
139+
""",
140+
remote_list=["git_scheme_repo"],
141+
),
122142
]
123143

124144

0 commit comments

Comments
 (0)