(
self, certificate: None, valid: bool, host: str | bytes
)
| 347 | self.i = 0 |
| 348 | |
| 349 | def certificate_check( |
| 350 | self, certificate: None, valid: bool, host: str | bytes |
| 351 | ) -> bool: |
| 352 | self.i += 1 |
| 353 | |
| 354 | assert certificate is None |
| 355 | assert valid is True |
| 356 | assert host == b'github.com' |
| 357 | return True |
| 358 | |
| 359 | # We create an in-memory repository |
| 360 | git = pygit2.Repository() |
nothing calls this directly
no outgoing calls
no test coverage detected