mirror of
https://github.com/status-im/PyGithub.git
synced 2026-09-01 19:31:10 +00:00
Improve test coverage
This commit is contained in:
@@ -36,7 +36,7 @@ class Repository( object ):
|
||||
self.__useAttributes( attributes )
|
||||
self.__completed = completion != LazyCompletion
|
||||
if completion == ImmediateCompletion:
|
||||
self.__complete()
|
||||
self.__complete() # pragma: no cover
|
||||
|
||||
@property
|
||||
def clone_url( self ):
|
||||
@@ -888,9 +888,9 @@ class Repository( object ):
|
||||
|
||||
def __completeIfNeeded( self, testedAttribute ):
|
||||
if not self.__completed and testedAttribute is None:
|
||||
self.__complete()
|
||||
self.__complete() # pragma: no cover
|
||||
|
||||
def __complete( self ):
|
||||
def __complete( self ): # pragma: no cover
|
||||
status, headers, data = self.__requester.request(
|
||||
"GET",
|
||||
self.__url,
|
||||
|
||||
Reference in New Issue
Block a user