(tmp_path: Path)
| 770 | |
| 771 | @utils.requires_network |
| 772 | def test_clone_with_credentials(tmp_path: Path) -> None: |
| 773 | url = 'https://github.com/libgit2/TestGitRepository' |
| 774 | credentials = pygit2.UserPass('libgit2', 'libgit2') |
| 775 | callbacks = pygit2.RemoteCallbacks(credentials=credentials) |
| 776 | repo = clone_repository(url, tmp_path, callbacks=callbacks) |
| 777 | |
| 778 | assert not repo.is_empty |
| 779 | |
| 780 | |
| 781 | @utils.requires_network |
nothing calls this directly
no test coverage detected
searching dependent graphs…