mirror of
https://github.com/status-im/PyGithub.git
synced 2026-08-31 19:01:15 +00:00
Coverage
This commit is contained in:
@@ -8,8 +8,6 @@ import base64
|
||||
|
||||
from github import Github
|
||||
|
||||
### @todo From ReplayDataForIntegrationTest.*.txt files and ReferenceOfApis.md, build a coverage of the API by the integration test
|
||||
|
||||
class RecordReplayException( Exception ):
|
||||
pass
|
||||
|
||||
@@ -101,7 +99,8 @@ class IntegrationTest:
|
||||
tests = argv
|
||||
self.runTests( tests, record )
|
||||
|
||||
self.analyseCoverage()
|
||||
if not record:
|
||||
self.analyseCoverage()
|
||||
|
||||
def prepareRecord( self, test ):
|
||||
self.avoidError500FromGithub = lambda: time.sleep( 1 )
|
||||
|
||||
Reference in New Issue
Block a user