(testrepo: Repository)
| 184 | |
| 185 | |
| 186 | def test_diff_blob_to_buffer_patch_patch(testrepo: Repository) -> None: |
| 187 | blob = testrepo[BLOB_SHA] |
| 188 | assert isinstance(blob, pygit2.Blob) |
| 189 | patch = blob.diff_to_buffer('hello world') |
| 190 | assert patch.text == BLOB_PATCH |
| 191 | |
| 192 | |
| 193 | def test_diff_blob_to_buffer_delete(testrepo: Repository) -> None: |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…