Acknowledge some lack of test coverage

This commit is contained in:
Vincent Jacques
2014-05-04 12:18:00 -07:00
parent 72d3c05bac
commit 580528876a
5 changed files with 13 additions and 13 deletions
+2 -2
View File
@@ -103,8 +103,8 @@ class ContentFile(github.GithubObject.CompletableGithubObject):
"""
if self._repository is github.GithubObject.NotSet:
# The repository was not set automatically, so it must be looked up by url.
repo_url = "/".join(self.url.split("/")[:6])
self._repository = github.GithubObject._ValuedAttribute(github.Repository.Repository(self._requester, self._headers, {'url': repo_url}, completed=False))
repo_url = "/".join(self.url.split("/")[:6]) # pragma no cover (Should be covered)
self._repository = github.GithubObject._ValuedAttribute(github.Repository.Repository(self._requester, self._headers, {'url': repo_url}, completed=False)) # pragma no cover (Should be covered)
return self._repository.value
@property