(testrepo: Repository)
| 77 | |
| 78 | |
| 79 | def test_remote_create_anonymous(testrepo: Repository) -> None: |
| 80 | url = 'https://github.com/libgit2/pygit2.git' |
| 81 | |
| 82 | remote = testrepo.remotes.create_anonymous(url) |
| 83 | assert remote.name is None |
| 84 | assert url == remote.url |
| 85 | assert remote.push_url is None |
| 86 | assert [] == remote.fetch_refspecs |
| 87 | assert [] == remote.push_refspecs |
| 88 | |
| 89 | |
| 90 | def test_remote_delete(testrepo: Repository) -> None: |
nothing calls this directly
no test coverage detected
searching dependent graphs…