(testrepo: Repository)
| 122 | |
| 123 | |
| 124 | def test_patch_create_from_blob_buffer_add(testrepo: Repository) -> None: |
| 125 | patch = pygit2.Patch.create_from( |
| 126 | None, |
| 127 | BLOB_NEW_CONTENT, |
| 128 | old_as_path=BLOB_OLD_PATH, |
| 129 | new_as_path=BLOB_NEW_PATH, |
| 130 | ) |
| 131 | |
| 132 | assert patch.text == BLOB_PATCH_ADDED |
| 133 | |
| 134 | |
| 135 | def test_patch_create_from_blob_buffer_delete(testrepo: Repository) -> None: |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…