Skip to content

Commit df6d12d

Browse files
author
Phil Opaola
committed
Update test_github_browsing_url
1 parent 0c96c02 commit df6d12d

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

codespeed/tests/tests.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -451,12 +451,14 @@ def test_github_browsing_url(self):
451451
# It should work with https:// as well as git:// urls
452452
self.github_project.save()
453453
self.assertEquals(self.github_project.commit_browsing_url,
454-
'https://github.com/tobami/codespeed/commit/{commitid}')
454+
'https://github.com/tobami/codespeed.git/'
455+
'commit/{commitid}')
455456

456457
self.github_project.repo_path = 'git://github.com/tobami/codespeed.git'
457458
self.github_project.save()
458459
self.assertEquals(self.github_project.commit_browsing_url,
459-
'https://github.com/tobami/codespeed/commit/{commitid}')
460+
'https://github.com/tobami/codespeed.git/'
461+
'commit/{commitid}')
460462

461463
# If filled in, commit browsing url should not change
462464
self.github_project.commit_browsing_url = 'https://example.com/{commitid}'

0 commit comments

Comments
 (0)