示例#1
0
 def _helper_test_get_repository_url_raw(self):
     repo_url = _get_extension_repo_url('alias', raw=True)
     self.assertEqual(_RAW_EXTENSIONS_ISSUES_URL, repo_url)
示例#2
0
 def _helper_test_get_repository_url_with_no_extension_match_raw(self):
     # default behaviour is pretty url
     repo_url = _get_extension_repo_url('wrong_ext_name', raw=True)
     self.assertEqual(_RAW_EXTENSIONS_ISSUES_URL, repo_url)
示例#3
0
 def _helper_test_get_repository_url_pretty(self):
     # default behaviour is pretty url
     repo_url = _get_extension_repo_url('alias')
     self.assertEqual(_EXTENSIONS_ISSUES_URL, repo_url)