()
| 82 | |
| 83 | |
| 84 | def test_patch_create_from_buffers() -> None: |
| 85 | patch = pygit2.Patch.create_from( |
| 86 | BLOB_OLD_CONTENT, |
| 87 | BLOB_NEW_CONTENT, |
| 88 | old_as_path=BLOB_OLD_PATH, |
| 89 | new_as_path=BLOB_NEW_PATH, |
| 90 | ) |
| 91 | |
| 92 | assert patch.text == BLOB_PATCH |
| 93 | |
| 94 | |
| 95 | def test_patch_create_from_blobs(testrepo: Repository) -> None: |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…