(testrepo: Repository, tmp_path: Path)
| 245 | |
| 246 | |
| 247 | def test_write_tree_to(testrepo: Repository, tmp_path: Path) -> None: |
| 248 | pygit2.option(pygit2.enums.Option.ENABLE_STRICT_OBJECT_CREATION, False) |
| 249 | with utils.TemporaryRepository('emptyrepo.zip', tmp_path) as path: |
| 250 | nrepo = Repository(path) |
| 251 | id = testrepo.index.write_tree(nrepo) |
| 252 | assert nrepo[id] is not None |
| 253 | |
| 254 | |
| 255 | def test_create_entry(testrepo: Repository) -> None: |
nothing calls this directly
no test coverage detected
searching dependent graphs…