Fix slightly-off test values

This commit is contained in:
Jeff Forcier 2014-04-01 15:29:29 -07:00
parent 41ce22f436
commit bb40361b98

View file

@ -343,8 +343,8 @@ class nodes(Spec):
'github_path': 'foo/bar', 'github_path': 'foo/bar',
} }
for type_, expected in ( for type_, expected in (
('issue', 'https://github.com/foo/bar/issue/15'), ('issue', 'https://github.com/foo/bar/issues/15'),
('release', 'https://github.com/foo/bar/tree/15'), ('release', 'https://github.com/foo/bar/tree/1.0.2'),
): ):
self._test_link(kwargs, type_, expected) self._test_link(kwargs, type_, expected)
@ -354,7 +354,7 @@ class nodes(Spec):
'issue_uri': 'explicit_issue_%s', 'issue_uri': 'explicit_issue_%s',
'github_path': 'foo/bar', 'github_path': 'foo/bar',
} }
self._test_link(kwargs, 'issue', 'explicit_15') self._test_link(kwargs, 'issue', 'explicit_issue_15')
def release_links_prefer_explicit_setting_over_github_setting(self): def release_links_prefer_explicit_setting_over_github_setting(self):
kwargs = { kwargs = {