Skip to content

Commit e3858f9

Browse files
Merge branch 'master' of https://github.com/jupyterhub/binderhub into github-auth-fix
2 parents f7c29a1 + 5f7ffff commit e3858f9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

binderhub/tests/test_repoproviders.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -214,10 +214,10 @@ def test_spec_with_suggestion(self):
214214

215215

216216
@pytest.mark.parametrize('url,unresolved_ref,resolved_ref', [
217-
['https://github.com/jupyterhub/zero-to-jupyterhub-k8s',
217+
['https://github.com/jupyterhub/zero-to-jupyterhub-k8s',
218218
'f7f3ff6d1bf708bdc12e5f10e18b2a90a4795603',
219219
'f7f3ff6d1bf708bdc12e5f10e18b2a90a4795603'],
220-
['https://github.com/jupyterhub/zero-to-jupyterhub-k8s',
220+
['https://github.com/jupyterhub/zero-to-jupyterhub-k8s',
221221
'0.8.0',
222222
'ada2170a2181ae1760d85eab74e5264d0c6bb67f']
223223
])
@@ -238,14 +238,14 @@ def test_git_ref(url, unresolved_ref, resolved_ref):
238238

239239
def test_gitlab_ref():
240240
spec = '{}/{}'.format(
241-
quote('gitlab-org/gitlab-ce', safe=''),
241+
quote('gitlab-org/gitlab-foss', safe=''),
242242
quote('v10.0.6')
243243
)
244244
provider = GitLabRepoProvider(spec=spec)
245245
slug = provider.get_build_slug()
246-
assert slug == 'gitlab_-org-gitlab_-ce'
246+
assert slug == 'gitlab_-org-gitlab_-foss'
247247
full_url = provider.get_repo_url()
248-
assert full_url == 'https://gitlab.com/gitlab-org/gitlab-ce.git'
248+
assert full_url == 'https://gitlab.com/gitlab-org/gitlab-foss.git'
249249
ref = IOLoop().run_sync(provider.get_resolved_ref)
250250
assert ref == 'b3344b7f17c335a817c5d7608c5e47fd7cabc023'
251251

0 commit comments

Comments
 (0)